home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-09-21 | 2.0 MB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, Mon Mar 27 07:43:32 1989, modified Wed Sep 21 09:20:19 1994, creator HyperCard, type HyperCard stack, 344064 bytes "Don Norman demo" , at 0x54080 1704173 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 44 6f 6e 20 4e 6f | 72 6d 61 6e 20 64 65 6d |..Don No|rman dem|
|00000010| 6f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 05 40 00 00 | 1a 00 ed a0 53 dc f4 aa |.....@..|....S...|
|00000060| a5 e3 93 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 32 55 00 00 |........|....2U..|
|00000080| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........|
|00000090| 00 00 00 0a 00 05 40 00 | 00 00 72 00 00 00 00 00 |......@.|..r.....|
|000000a0| 00 00 00 0b 00 00 00 02 | 00 00 12 6a 00 00 00 41 |........|...j...A|
|000000b0| 00 00 11 92 00 00 09 b0 | 00 00 00 02 00 00 27 a0 |........|......'.|
|000000c0| 00 00 51 f4 00 00 00 00 | 00 05 00 00 18 00 00 00 |..Q.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |."... ..|. ... ..|
|000000f0| d4 e4 bd b0 00 00 00 20 | 00 52 00 70 02 32 02 f0 |....... |.R.p.2..|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0c 2a 00 00 0b 1c | 01 e0 02 80 00 00 00 00 |...*....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 02 5f 40 00 00 15 00 | 00 05 2d 40 00 00 12 a0 |.._@....|..-@....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 61 64 64 63 6f | 6c 6f 72 0d 70 61 73 73 |on addco|lor.pass|
|00000690| 20 61 64 64 63 6f 6c 6f | 72 0d 65 6e 64 20 61 64 | addcolo|r.end ad|
|000006a0| 64 63 6f 6c 6f 72 0d 6f | 6e 20 67 6f 70 61 67 65 |dcolor.o|n gopage|
|000006b0| 20 6e 0d 69 66 20 6e 20 | 3e 20 36 32 0d 74 68 65 | n.if n |> 62.the|
|000006c0| 6e 0d 61 6e 73 77 65 72 | 20 22 54 68 61 74 20 73 |n.answer| "That s|
|000006d0| 65 63 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 61 76 |ection i|s not av|
|000006e0| 61 69 6c 61 62 6c 65 20 | 69 6e 20 74 68 69 73 20 |ailable |in this |
|000006f0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 2e 20 43 |demonstr|ation. C|
|00000700| 61 6c 6c 20 56 6f 79 61 | 67 65 72 20 61 74 20 31 |all Voya|ger at 1|
|00000710| 2d 38 30 30 2d 34 34 32 | 2d 32 30 30 31 20 66 6f |-800-442|-2001 fo|
|00000720| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00000730| 6f 6e 2e 22 0d 65 6c 73 | 65 0d 73 65 74 20 63 75 |on.".els|e.set cu|
|00000740| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 61 |rsor to |watch.pa|
|00000750| 73 73 20 67 6f 70 61 67 | 65 0d 65 6e 64 20 69 66 |ss gopag|e.end if|
|00000760| 0d 65 6e 64 20 67 6f 70 | 61 67 65 0d 6f 6e 20 66 |.end gop|age.on f|
|00000770| 69 6c 6c 6d 79 63 68 61 | 70 74 65 72 73 0d 67 6c |illmycha|pters.gl|
|00000780| 6f 62 61 6c 20 6d 79 70 | 61 67 65 73 2c 6d 79 63 |obal myp|ages,myc|
|00000790| 6f 6e 74 65 6e 74 73 0d | 70 75 74 20 66 6c 64 20 |ontents.|put fld |
|000007a0| 22 6d 79 63 6f 6e 74 65 | 6e 74 73 22 20 6f 66 20 |"myconte|nts" of |
|000007b0| 63 64 20 31 20 69 6e 74 | 6f 20 6d 79 63 6f 6e 74 |cd 1 int|o mycont|
|000007c0| 65 6e 74 73 0d 70 75 74 | 20 66 6c 64 20 22 6d 79 |ents.put| fld "my|
|000007d0| 70 61 67 65 73 22 20 6f | 66 20 63 64 20 31 20 69 |pages" o|f cd 1 i|
|000007e0| 6e 74 6f 20 6d 79 70 61 | 67 65 73 0d 65 6e 64 20 |nto mypa|ges.end |
|000007f0| 66 69 6c 6c 6d 79 63 68 | 61 70 74 65 72 73 0d 6f |fillmych|apters.o|
|00000800| 6e 20 65 74 6c 0d 65 64 | 69 74 20 73 63 72 69 70 |n etl.ed|it scrip|
|00000810| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 74 68 65 20 |t of sta|ck "the |
|00000820| 6c 69 62 72 61 72 79 22 | 0d 65 6e 64 20 65 74 6c |library"|.end etl|
|00000830| 0d 6f 6e 20 64 6f 52 54 | 0d 64 6f 43 53 54 52 20 |.on doRT|.doCSTR |
|00000840| 22 64 6f 52 54 43 53 54 | 52 22 0d 65 6e 64 20 64 |"doRTCST|R".end d|
|00000850| 6f 52 54 0d 6f 6e 20 73 | 68 6f 77 6d 61 70 0d 67 |oRT.on s|howmap.g|
|00000860| 6c 6f 62 61 6c 20 6d 61 | 70 53 54 2c 74 53 54 2c |lobal ma|pST,tST,|
|00000870| 70 6c 69 73 74 0d 6c 73 | 0d 69 66 20 74 68 65 72 |plist.ls|.if ther|
|00000880| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 4d |e is a w|indow "M|
|00000890| 61 70 22 0d 74 68 65 6e | 0d 67 65 74 20 77 69 6e |ap".then|.get win|
|000008a0| 63 28 22 6d 61 70 22 29 | 0d 73 65 74 20 64 6f 6e |c("map")|.set don|
|000008b0| 74 65 72 61 73 65 20 6f | 66 20 77 69 6e 64 6f 77 |terase o|f window|
|000008c0| 20 22 6d 61 70 22 20 74 | 6f 20 69 74 0d 63 6c 6f | "map" t|o it.clo|
|000008d0| 73 65 20 77 69 6e 64 6f | 77 20 22 4d 61 70 22 0d |se windo|w "Map".|
|000008e0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 6d |put fals|e into m|
|000008f0| 61 70 53 54 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |apST.put| false i|
|00000900| 6e 74 6f 20 74 53 54 0d | 63 68 65 63 6b 28 22 54 |nto tST.|check("T|
|00000910| 6f 6f 6c 20 50 61 6c 65 | 74 74 65 22 29 2c 66 61 |ool Pale|tte"),fa|
|00000920| 6c 73 65 0d 65 6c 73 65 | 0d 6f 6c 64 6f 77 69 6e |lse.else|.oldowin|
|00000930| 64 6f 77 20 22 4d 61 70 | 22 2c 32 30 34 38 0d 73 |dow "Map|",2048.s|
|00000940| 65 74 20 74 68 65 20 74 | 6f 70 6c 65 66 74 20 6f |et the t|opleft o|
|00000950| 66 20 77 69 6e 64 6f 77 | 20 22 4d 61 70 22 20 74 |f window| "Map" t|
|00000960| 6f 20 22 32 2c 33 32 22 | 0d 73 68 6f 77 20 77 69 |o "2,32"|.show wi|
|00000970| 6e 64 6f 77 20 22 4d 61 | 70 22 0d 70 75 74 20 74 |ndow "Ma|p".put t|
|00000980| 72 75 65 20 69 6e 74 6f | 20 6d 61 70 53 54 0d 70 |rue into| mapST.p|
|00000990| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 74 53 54 |ut true |into tST|
|000009a0| 0d 63 68 65 63 6b 28 22 | 54 6f 6f 6c 20 50 61 6c |.check("|Tool Pal|
|000009b0| 65 74 74 65 22 29 2c 74 | 72 75 65 0d 65 6e 64 20 |ette"),t|rue.end |
|000009c0| 69 66 0d 69 66 20 6e 6f | 74 20 43 44 73 28 29 20 |if.if no|t CDs() |
|000009d0| 74 68 65 6e 20 65 78 69 | 74 20 73 68 6f 77 6d 61 |then exi|t showma|
|000009e0| 70 0d 69 66 20 22 2c 22 | 26 63 6e 28 29 26 22 2c |p.if ","|&cn()&",|
|000009f0| 22 20 69 73 20 69 6e 20 | 22 2c 33 2c 39 2c 37 35 |" is in |",3,9,75|
|00000a00| 30 2c 35 36 39 2c 35 36 | 31 2c 22 20 6f 72 20 63 |0,569,56|1," or c|
|00000a10| 6e 28 29 3e 31 30 31 32 | 0d 74 68 65 6e 0d 70 75 |n()>1012|.then.pu|
|00000a20| 74 20 22 7a 7a 7a 7a 7a | 7a 22 20 69 6e 74 6f 20 |t "zzzzz|z" into |
|00000a30| 70 6c 69 73 74 0d 73 65 | 6e 64 20 6f 63 73 74 75 |plist.se|nd ocstu|
|00000a40| 66 66 20 74 6f 20 74 68 | 69 73 20 63 64 0d 65 6c |ff to th|is cd.el|
|00000a50| 73 65 0d 61 64 64 63 6f | 6c 6f 72 20 63 6f 6c 6f |se.addco|lor colo|
|00000a60| 72 70 69 63 74 2c 63 64 | 2c 22 54 6f 6f 6c 42 6f |rpict,cd|,"ToolBo|
|00000a70| 78 43 6f 76 65 72 22 2c | 22 30 2c 34 33 32 22 2c |xCover",|"0,432",|
|00000a80| 74 2c 73 74 61 6d 70 0d | 64 72 61 77 74 6f 6f 6c |t,stamp.|drawtool|
|00000a90| 62 6f 78 0d 65 6e 64 20 | 69 66 0d 75 73 0d 65 6e |box.end |if.us.en|
|00000aa0| 64 20 73 68 6f 77 6d 61 | 70 0d 6f 6e 20 67 6f 63 |d showma|p.on goc|
|00000ab0| 68 61 70 74 65 72 20 6e | 0d 69 66 20 6e 20 3e 20 |hapter n|.if n > |
|00000ac0| 31 32 0d 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |12.then.|answer "|
|00000ad0| 54 68 61 74 20 73 65 63 | 74 69 6f 6e 20 69 73 20 |That sec|tion is |
|00000ae0| 6e 6f 74 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |not avai|lable in|
|00000af0| 20 74 68 69 73 20 64 65 | 6d 6f 6e 73 74 72 61 74 | this de|monstrat|
|00000b00| 69 6f 6e 2e 20 43 61 6c | 6c 20 56 6f 79 61 67 65 |ion. Cal|l Voyage|
|00000b10| 72 20 61 74 20 31 2d 38 | 30 30 2d 34 34 32 2d 32 |r at 1-8|00-442-2|
|00000b20| 30 30 31 20 66 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |001 for |more inf|
|00000b30| 6f 72 6d 61 74 69 6f 6e | 2e 22 0d 65 6c 73 65 0d |ormation|.".else.|
|00000b40| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00000b50| 74 63 68 0d 70 61 73 73 | 20 67 6f 63 68 61 70 74 |tch.pass| gochapt|
|00000b60| 65 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 67 6f |er.end i|f.end go|
|00000b70| 63 68 61 70 74 65 72 0d | 66 75 6e 63 74 69 6f 6e |chapter.|function|
|00000b80| 20 77 69 6e 63 20 77 6e | 0d 67 65 74 20 72 65 63 | winc wn|.get rec|
|00000b90| 74 20 6f 66 20 63 61 72 | 64 0d 72 65 74 75 72 6e |t of car|d.return|
|00000ba0| 20 72 65 63 74 20 6f 66 | 20 63 61 72 64 20 77 69 | rect of| card wi|
|00000bb0| 6e 64 6f 77 20 3d 20 74 | 68 65 20 73 63 72 65 65 |ndow = t|he scree|
|00000bc0| 6e 72 65 63 74 20 6f 72 | 20 28 74 6f 70 6c 65 66 |nrect or| (toplef|
|00000bd0| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 77 6e 20 69 |t of win|dow wn i|
|00000be0| 73 20 77 69 74 68 69 6e | 20 69 74 20 61 6e 64 20 |s within| it and |
|00000bf0| 62 6f 74 74 6f 6d 72 69 | 67 68 74 20 6f 66 20 77 |bottomri|ght of w|
|00000c00| 69 6e 64 6f 77 20 77 6e | 20 69 73 20 77 69 74 68 |indow wn| is with|
|00000c10| 69 6e 20 69 74 29 0d 65 | 6e 64 20 77 69 6e 63 0d |in it).e|nd winc.|
|00000c20| 6f 6e 20 68 69 6c 69 74 | 65 6c 69 6e 65 20 77 69 |on hilit|eline wi|
|00000c30| 6e 64 6f 77 6e 61 6d 65 | 2c 74 61 72 67 65 74 2c |ndowname|,target,|
|00000c40| 63 6c 69 63 6b 6c 69 6e | 65 0d 70 75 74 20 57 69 |clicklin|e.put Wi|
|00000c50| 6e 64 6f 77 4e 61 6d 65 | 20 69 6e 74 6f 20 77 6e |ndowName| into wn|
|00000c60| 0d 70 75 74 20 43 6c 69 | 63 6b 4c 69 6e 65 20 69 |.put Cli|ckLine i|
|00000c70| 6e 74 6f 20 6c 0d 70 75 | 74 20 54 61 72 67 65 74 |nto l.pu|t Target|
|00000c80| 20 69 6e 74 6f 20 74 61 | 72 67 0d 67 65 74 20 22 | into ta|rg.get "|
|00000c90| 67 65 74 20 74 68 65 22 | 26 26 74 61 72 67 26 22 |get the"|&&targ&"|
|00000ca0| 5f 54 65 78 74 44 61 74 | 61 20 6f 66 20 77 69 6e |_TextDat|a of win|
|00000cb0| 64 6f 77 20 77 6e 22 0d | 64 6f 20 69 74 0d 70 75 |dow wn".|do it.pu|
|00000cc0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00000cd0| 63 68 61 72 73 20 69 6e | 20 6c 69 6e 65 20 31 20 |chars in| line 1 |
|00000ce0| 74 6f 20 6c 2d 31 20 6f | 66 20 69 74 20 69 6e 74 |to l-1 o|f it int|
|00000cf0| 6f 20 63 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |o c.put |the numb|
|00000d00| 65 72 20 6f 66 20 63 68 | 61 72 73 20 69 6e 20 6c |er of ch|ars in l|
|00000d10| 69 6e 65 20 6c 20 6f 66 | 20 69 74 20 69 6e 74 6f |ine l of| it into|
|00000d20| 20 64 0d 69 66 20 6c 20 | 3c 3e 20 74 68 65 20 6e | d.if l |<> the n|
|00000d30| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00000d40| 6e 20 69 74 0d 74 68 65 | 6e 20 73 75 62 74 72 61 |n it.the|n subtra|
|00000d50| 63 74 20 31 20 66 72 6f | 6d 20 64 0d 61 64 64 20 |ct 1 fro|m d.add |
|00000d60| 28 33 2d 6c 29 20 74 6f | 20 63 0d 69 66 20 6c 20 |(3-l) to| c.if l |
|00000d70| 3d 20 31 20 74 68 65 6e | 20 70 75 74 20 31 20 69 |= 1 then| put 1 i|
|00000d80| 6e 74 6f 20 63 0d 67 65 | 74 20 63 26 22 2c 22 26 |nto c.ge|t c&","&|
|00000d90| 63 2b 64 0d 64 6f 20 22 | 73 65 74 20 74 68 65 22 |c+d.do "|set the"|
|00000da0| 26 26 74 61 72 67 26 22 | 5f 53 65 6c 65 63 74 61 |&&targ&"|_Selecta|
|00000db0| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 77 6e |ble of w|indow wn|
|00000dc0| 20 74 6f 20 74 72 75 65 | 22 0d 64 6f 20 22 73 65 | to true|".do "se|
|00000dd0| 74 20 74 68 65 22 26 26 | 74 61 72 67 26 22 5f 53 |t the"&&|targ&"_S|
|00000de0| 65 6c 65 63 74 69 6f 6e | 20 6f 66 20 77 69 6e 64 |election| of wind|
|00000df0| 6f 77 20 77 6e 20 74 6f | 20 69 74 22 0d 73 65 74 |ow wn to| it".set|
|00000e00| 20 74 68 65 20 41 63 74 | 69 76 65 4f 62 6a 65 63 | the Act|iveObjec|
|00000e10| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 77 6e 20 74 |t of win|dow wn t|
|00000e20| 6f 20 74 61 72 67 0d 64 | 6f 20 22 67 65 74 20 74 |o targ.d|o "get t|
|00000e30| 68 65 22 26 26 74 61 72 | 67 26 22 5f 53 65 6c 65 |he"&&tar|g&"_Sele|
|00000e40| 63 74 69 6f 6e 20 6f 66 | 20 77 69 6e 64 6f 77 20 |ction of| window |
|00000e50| 77 6e 22 0d 65 6e 64 20 | 68 69 6c 69 74 65 6c 69 |wn".end |hiliteli|
|00000e60| 6e 65 0d 6f 6e 20 6f 6c | 64 6f 77 69 6e 64 6f 77 |ne.on ol|dowindow|
|00000e70| 20 77 2c 77 69 6e 64 6f | 77 74 79 70 65 2c 72 0d | w,windo|wtype,r.|
|00000e80| 67 6c 6f 62 61 6c 20 78 | 78 78 4e 65 77 57 69 6e |global x|xxNewWin|
|00000e90| 64 6f 77 4e 61 6d 65 0d | 69 66 20 74 68 65 72 65 |dowName.|if there|
|00000ea0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 77 20 74 | is a wi|ndow w t|
|00000eb0| 68 65 6e 20 65 78 69 74 | 20 6f 6c 64 6f 77 69 6e |hen exit| oldowin|
|00000ec0| 64 6f 77 0d 69 66 20 72 | 20 3d 20 22 22 20 74 68 |dow.if r| = "" th|
|00000ed0| 65 6e 20 70 75 74 20 22 | 31 30 30 2c 31 30 30 2c |en put "|100,100,|
|00000ee0| 33 30 30 2c 32 30 30 22 | 20 69 6e 74 6f 20 72 0d |300,200"| into r.|
|00000ef0| 70 75 74 20 77 69 6e 64 | 6f 77 74 79 70 65 20 69 |put wind|owtype i|
|00000f00| 6e 74 6f 20 74 6f 73 68 | 6f 77 0d 69 66 20 77 69 |nto tosh|ow.if wi|
|00000f10| 6e 64 6f 77 74 79 70 65 | 20 3d 20 32 30 34 38 0d |ndowtype| = 2048.|
|00000f20| 74 68 65 6e 0d 70 75 74 | 20 32 30 34 38 20 69 6e |then.put| 2048 in|
|00000f30| 74 6f 20 77 74 0d 70 75 | 74 20 22 69 6e 76 69 73 |to wt.pu|t "invis|
|00000f40| 69 62 6c 65 22 20 69 6e | 74 6f 20 74 6f 73 68 6f |ible" in|to tosho|
|00000f50| 77 0d 65 6c 73 65 0d 69 | 66 20 77 69 6e 64 6f 77 |w.else.i|f window|
|00000f60| 74 79 70 65 20 3d 20 22 | 62 6f 72 64 65 72 6c 65 |type = "|borderle|
|00000f70| 73 73 22 0d 74 68 65 6e | 20 70 75 74 20 33 32 30 |ss".then| put 320|
|00000f80| 33 33 20 69 6e 74 6f 20 | 77 74 0d 65 6c 73 65 20 |33 into |wt.else |
|00000f90| 70 75 74 20 33 32 30 35 | 30 20 69 6e 74 6f 20 77 |put 3205|0 into w|
|00000fa0| 74 0d 65 6e 64 20 69 66 | 0d 69 66 20 77 20 3d 20 |t.end if|.if w = |
|00000fb0| 22 22 20 74 68 65 6e 20 | 70 75 74 20 22 4e 65 77 |"" then |put "New|
|00000fc0| 20 57 69 6e 64 6f 77 22 | 20 69 6e 74 6f 20 77 0d | Window"| into w.|
|00000fd0| 6f 77 69 6e 64 6f 77 20 | 77 74 2c 77 0d 73 65 74 |owindow |wt,w.set|
|00000fe0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 77 69 6e | the rec|t of win|
|00000ff0| 64 6f 77 20 77 20 74 6f | 20 72 0d 73 65 74 20 74 |dow w to| r.set t|
|00001000| 68 65 20 64 65 66 69 6e | 65 72 65 73 6f 75 72 63 |he defin|eresourc|
|00001010| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 77 20 74 6f |e of win|dow w to|
|00001020| 20 77 26 22 2e 64 65 66 | 22 0d 69 66 20 74 68 65 | w&".def|".if the|
|00001030| 72 65 20 69 73 20 6e 6f | 74 20 61 20 77 69 6e 64 |re is no|t a wind|
|00001040| 6f 77 20 77 20 61 6e 64 | 20 74 68 65 72 65 20 69 |ow w and| there i|
|00001050| 73 20 61 20 77 69 6e 64 | 6f 77 20 78 78 78 4e 65 |s a wind|ow xxxNe|
|00001060| 77 57 69 6e 64 6f 77 4e | 61 6d 65 0d 74 68 65 6e |wWindowN|ame.then|
|00001070| 20 73 65 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 | set the| name of|
|00001080| 20 77 69 6e 64 6f 77 20 | 78 78 78 4e 65 77 57 69 | window |xxxNewWi|
|00001090| 6e 64 6f 77 4e 61 6d 65 | 20 74 6f 20 77 0d 69 66 |ndowName| to w.if|
|000010a0| 20 74 6f 73 68 6f 77 20 | 3c 3e 20 22 69 6e 76 69 | toshow |<> "invi|
|000010b0| 73 69 62 6c 65 22 20 74 | 68 65 6e 20 73 68 6f 77 |sible" t|hen show|
|000010c0| 20 77 69 6e 64 6f 77 20 | 77 0d 65 6e 64 20 6f 6c | window |w.end ol|
|000010d0| 64 6f 77 69 6e 64 6f 77 | 0d 6f 6e 20 66 69 6e 64 |dowindow|.on find|
|000010e0| 73 74 75 66 66 20 74 68 | 65 74 65 78 74 2c 69 6e |stuff th|etext,in|
|000010f0| 64 65 78 6e 61 6d 65 73 | 2c 64 6e 73 2c 69 6e 63 |dexnames|,dns,inc|
|00001100| 6f 6e 74 65 78 74 0d 67 | 6c 6f 62 61 6c 20 74 63 |ontext.g|lobal tc|
|00001110| 74 0d 70 75 74 20 22 44 | 65 73 69 67 6e 46 69 6e |t.put "D|esignFin|
|00001120| 64 73 2c 54 75 72 6e 53 | 69 67 6e 61 6c 73 46 69 |ds,TurnS|ignalsFi|
|00001130| 6e 64 73 2c 54 68 69 6e | 67 73 46 69 6e 64 73 2c |nds,Thin|gsFinds,|
|00001140| 53 75 70 70 6c 65 6d 65 | 6e 74 46 69 6e 64 73 22 |Suppleme|ntFinds"|
|00001150| 20 69 6e 74 6f 20 64 69 | 73 70 6c 61 79 73 0d 72 | into di|splays.r|
|00001160| 65 70 65 61 74 20 77 69 | 74 68 20 61 20 3d 20 74 |epeat wi|th a = t|
|00001170| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00001180| 6d 73 20 69 6e 20 64 69 | 73 70 6c 61 79 73 20 64 |ms in di|splays d|
|00001190| 6f 77 6e 20 74 6f 20 31 | 0d 69 66 20 63 68 61 72 |own to 1|.if char|
|000011a0| 20 31 20 74 6f 20 35 20 | 6f 66 20 69 74 65 6d 20 | 1 to 5 |of item |
|000011b0| 61 20 6f 66 20 64 69 73 | 70 6c 61 79 73 20 69 73 |a of dis|plays is|
|000011c0| 20 6e 6f 74 20 69 6e 20 | 64 6e 73 0d 74 68 65 6e | not in |dns.then|
|000011d0| 20 64 65 6c 65 74 65 20 | 69 74 65 6d 20 61 20 6f | delete |item a o|
|000011e0| 66 20 64 69 73 70 6c 61 | 79 73 0d 65 6e 64 20 72 |f displa|ys.end r|
|000011f0| 65 70 65 61 74 0d 67 65 | 74 20 22 d2 22 26 74 68 |epeat.ge|t "."&th|
|00001200| 65 74 65 78 74 26 22 d3 | 22 0d 69 66 20 74 68 65 |etext&".|".if the|
|00001210| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 69 |re is a |window i|
|00001220| 74 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |t then c|lose win|
|00001230| 64 6f 77 20 69 74 0d 6f | 6c 64 6f 77 69 6e 64 6f |dow it.o|ldowindo|
|00001240| 77 20 6d 79 74 65 73 74 | 2c 69 6e 76 69 73 69 62 |w mytest|,invisib|
|00001250| 6c 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 61 |le.repea|t with a|
|00001260| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00001270| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 69 |er of it|ems in i|
|00001280| 6e 64 65 78 6e 61 6d 65 | 73 0d 70 75 74 20 69 6e |ndexname|s.put in|
|00001290| 64 65 78 73 65 61 72 63 | 68 28 74 68 65 74 65 78 |dexsearc|h(thetex|
|000012a0| 74 2c 69 74 65 6d 20 61 | 20 6f 66 20 69 6e 64 65 |t,item a| of inde|
|000012b0| 78 6e 61 6d 65 73 29 20 | 69 6e 74 6f 20 66 6f 75 |xnames) |into fou|
|000012c0| 6e 64 73 74 75 66 66 0d | 69 66 20 69 6e 63 6f 6e |ndstuff.|if incon|
|000012d0| 74 65 78 74 3c 3e 22 22 | 0d 74 68 65 6e 0d 72 65 |text<>""|.then.re|
|000012e0| 70 65 61 74 20 77 69 74 | 68 20 62 20 3d 20 74 68 |peat wit|h b = th|
|000012f0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00001300| 73 20 69 6e 20 66 6f 75 | 6e 64 73 74 75 66 66 20 |s in fou|ndstuff |
|00001310| 64 6f 77 6e 20 74 6f 20 | 31 0d 70 75 74 20 77 6f |down to |1.put wo|
|00001320| 72 64 20 31 20 6f 66 20 | 6c 69 6e 65 20 62 20 6f |rd 1 of |line b o|
|00001330| 66 20 66 6f 75 6e 64 73 | 74 75 66 66 20 69 6e 74 |f founds|tuff int|
|00001340| 6f 20 74 68 65 70 61 67 | 65 0d 70 75 74 20 74 63 |o thepag|e.put tc|
|00001350| 74 2b 74 68 65 70 61 67 | 65 20 69 6e 74 6f 20 74 |t+thepag|e into t|
|00001360| 68 65 63 61 72 64 0d 69 | 66 20 74 68 65 72 65 20 |hecard.i|f there |
|00001370| 69 73 20 61 20 63 61 72 | 64 20 74 68 65 63 61 72 |is a car|d thecar|
|00001380| 64 0d 74 68 65 6e 20 67 | 65 74 20 63 6f 6e 74 65 |d.then g|et conte|
|00001390| 78 74 66 72 6f 6d 74 65 | 78 74 28 74 68 65 74 65 |xtfromte|xt(thete|
|000013a0| 78 74 2c 66 6c 64 20 73 | 74 79 6c 65 64 20 6f 66 |xt,fld s|tyled of|
|000013b0| 20 63 61 72 64 20 74 68 | 65 63 61 72 64 2c 74 68 | card th|ecard,th|
|000013c0| 65 70 61 67 65 29 26 72 | 65 74 75 72 6e 26 63 6f |epage)&r|eturn&co|
|000013d0| 6e 74 65 78 74 66 72 6f | 6d 74 65 78 74 28 74 68 |ntextfro|mtext(th|
|000013e0| 65 74 65 78 74 2c 66 6c | 64 20 73 74 79 6c 65 64 |etext,fl|d styled|
|000013f0| 32 20 6f 66 20 63 61 72 | 64 20 74 68 65 63 61 72 |2 of car|d thecar|
|00001400| 64 2c 74 68 65 70 61 67 | 65 29 0d 65 6c 73 65 20 |d,thepag|e).else |
|00001410| 67 65 74 20 22 22 0d 69 | 66 20 6c 61 73 74 20 63 |get "".i|f last c|
|00001420| 68 61 72 20 6f 66 20 69 | 74 20 3d 20 72 65 74 75 |har of i|t = retu|
|00001430| 72 6e 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |rn then |delete l|
|00001440| 61 73 74 20 63 68 61 72 | 20 6f 66 20 69 74 0d 69 |ast char| of it.i|
|00001450| 66 20 66 69 72 73 74 20 | 63 68 61 72 20 6f 66 20 |f first |char of |
|00001460| 69 74 20 3d 20 72 65 74 | 75 72 6e 20 74 68 65 6e |it = ret|urn then|
|00001470| 20 64 65 6c 65 74 65 20 | 66 69 72 73 74 20 63 68 | delete |first ch|
|00001480| 61 72 20 6f 66 20 69 74 | 0d 69 66 20 69 74 20 3d |ar of it|.if it =|
|00001490| 20 22 22 0d 74 68 65 6e | 20 64 65 6c 65 74 65 20 | "".then| delete |
|000014a0| 6c 69 6e 65 20 62 20 6f | 66 20 66 6f 75 6e 64 73 |line b o|f founds|
|000014b0| 74 75 66 66 0d 65 6c 73 | 65 20 70 75 74 20 69 74 |tuff.els|e put it|
|000014c0| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 62 20 6f 66 20 | into li|ne b of |
|000014d0| 66 6f 75 6e 64 73 74 75 | 66 66 0d 65 6e 64 20 72 |foundstu|ff.end r|
|000014e0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 72 65 70 |epeat.en|d if.rep|
|000014f0| 65 61 74 20 77 69 74 68 | 20 62 20 3d 20 74 68 65 |eat with| b = the|
|00001500| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001510| 20 69 6e 20 66 6f 75 6e | 64 73 74 75 66 66 20 64 | in foun|dstuff d|
|00001520| 6f 77 6e 20 74 6f 20 31 | 0d 70 75 74 20 22 c2 22 |own to 1|.put "."|
|00001530| 20 61 66 74 65 72 20 6c | 69 6e 65 20 62 20 6f 66 | after l|ine b of|
|00001540| 20 66 6f 75 6e 64 73 74 | 75 66 66 0d 70 75 74 20 | foundst|uff.put |
|00001550| 74 72 75 65 20 69 6e 74 | 6f 20 66 6f 75 6e 64 73 |true int|o founds|
|00001560| 6f 6d 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |ome.end |repeat.i|
|00001570| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 66 |f last c|har of f|
|00001580| 6f 75 6e 64 73 74 75 66 | 66 20 69 73 20 69 6e 20 |oundstuf|f is in |
|00001590| 72 65 74 75 72 6e 26 22 | c2 22 20 74 68 65 6e 20 |return&"|." then |
|000015a0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000015b0| 20 6f 66 20 66 6f 75 6e | 64 73 74 75 66 66 0d 70 | of foun|dstuff.p|
|000015c0| 75 74 20 69 74 65 6d 20 | 61 20 6f 66 20 64 6e 73 |ut item |a of dns|
|000015d0| 20 69 6e 74 6f 20 64 6e | 0d 69 66 20 64 6e 73 20 | into dn|.if dns |
|000015e0| 63 6f 6e 74 61 69 6e 73 | 20 22 73 75 70 70 6c 65 |contains| "supple|
|000015f0| 22 20 74 68 65 6e 20 70 | 75 74 20 22 34 32 22 20 |" then p|ut "42" |
|00001600| 69 6e 74 6f 20 64 6f 74 | 76 0d 69 66 20 64 6e 73 |into dot|v.if dns|
|00001610| 20 63 6f 6e 74 61 69 6e | 73 20 22 74 68 69 6e 67 | contain|s "thing|
|00001620| 73 22 20 74 68 65 6e 20 | 70 75 74 20 22 32 39 22 |s" then |put "29"|
|00001630| 20 69 6e 74 6f 20 64 6f | 74 76 0d 69 66 20 64 6e | into do|tv.if dn|
|00001640| 73 20 63 6f 6e 74 61 69 | 6e 73 20 22 74 75 72 6e |s contai|ns "turn|
|00001650| 22 20 74 68 65 6e 20 70 | 75 74 20 22 31 36 22 20 |" then p|ut "16" |
|00001660| 69 6e 74 6f 20 64 6f 74 | 76 0d 69 66 20 64 6e 73 |into dot|v.if dns|
|00001670| 20 63 6f 6e 74 61 69 6e | 73 20 22 64 65 73 69 67 | contain|s "desig|
|00001680| 6e 22 20 74 68 65 6e 20 | 70 75 74 20 22 33 22 20 |n" then |put "3" |
|00001690| 69 6e 74 6f 20 64 6f 74 | 76 0d 69 66 20 64 6e 73 |into dot|v.if dns|
|000016a0| 20 63 6f 6e 74 61 69 6e | 73 20 22 73 75 70 70 6c | contain|s "suppl|
|000016b0| 65 22 20 74 68 65 6e 20 | 70 75 74 20 22 73 75 70 |e" then |put "sup|
|000016c0| 70 6c 65 6d 65 6e 74 66 | 69 6e 64 73 22 20 69 6e |plementf|inds" in|
|000016d0| 74 6f 20 74 6f 73 68 6f | 77 0d 69 66 20 64 6e 73 |to tosho|w.if dns|
|000016e0| 20 63 6f 6e 74 61 69 6e | 73 20 22 74 68 69 6e 67 | contain|s "thing|
|000016f0| 73 22 20 74 68 65 6e 20 | 70 75 74 20 22 74 68 69 |s" then |put "thi|
|00001700| 6e 67 73 66 69 6e 64 73 | 22 20 69 6e 74 6f 20 74 |ngsfinds|" into t|
|00001710| 6f 73 68 6f 77 0d 69 66 | 20 64 6e 73 20 63 6f 6e |oshow.if| dns con|
|00001720| 74 61 69 6e 73 20 22 74 | 75 72 6e 22 20 74 68 65 |tains "t|urn" the|
|00001730| 6e 20 70 75 74 20 22 74 | 75 72 6e 73 69 67 6e 61 |n put "t|urnsigna|
|00001740| 6c 73 66 69 6e 64 73 22 | 20 69 6e 74 6f 20 74 6f |lsfinds"| into to|
|00001750| 73 68 6f 77 0d 69 66 20 | 64 6e 73 20 63 6f 6e 74 |show.if |dns cont|
|00001760| 61 69 6e 73 20 22 64 65 | 73 69 67 6e 22 20 74 68 |ains "de|sign" th|
|00001770| 65 6e 20 70 75 74 20 22 | 64 65 73 69 67 6e 66 69 |en put "|designfi|
|00001780| 6e 64 73 22 20 69 6e 74 | 6f 20 74 6f 73 68 6f 77 |nds" int|o toshow|
|00001790| 0d 69 66 20 64 6e 20 3c | 3e 22 22 0d 74 68 65 6e |.if dn <|>"".then|
|000017a0| 0d 70 75 74 20 64 6e 20 | 69 6e 74 6f 20 64 6c 0d |.put dn |into dl.|
|000017b0| 70 75 74 20 64 6e 20 69 | 6e 74 6f 20 64 67 0d 70 |put dn i|nto dg.p|
|000017c0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000017d0| 20 63 68 61 72 73 20 69 | 6e 20 64 6c 20 69 6e 74 | chars i|n dl int|
|000017e0| 6f 20 64 6c 63 0d 64 65 | 6c 65 74 65 20 63 68 61 |o dlc.de|lete cha|
|000017f0| 72 28 64 6c 63 20 2d 20 | 34 29 20 74 6f 20 64 6c |r(dlc - |4) to dl|
|00001800| 63 20 6f 66 20 64 6c 0d | 64 65 6c 65 74 65 20 63 |c of dl.|delete c|
|00001810| 68 61 72 28 64 6c 63 20 | 2d 20 34 29 20 74 6f 20 |har(dlc |- 4) to |
|00001820| 64 6c 63 20 6f 66 20 64 | 67 0d 70 75 74 20 22 43 |dlc of d|g.put "C|
|00001830| 6f 75 6e 74 22 20 61 66 | 74 65 72 20 64 6c 0d 70 |ount" af|ter dl.p|
|00001840| 75 74 20 22 47 72 61 79 | 22 20 61 66 74 65 72 20 |ut "Gray|" after |
|00001850| 64 67 0d 67 65 74 20 22 | 73 65 74 20 74 68 65 22 |dg.get "|set the"|
|00001860| 26 26 64 67 26 22 5f 76 | 69 73 69 62 6c 65 20 6f |&&dg&"_v|isible o|
|00001870| 66 20 77 69 6e 64 6f 77 | 20 6d 79 74 65 73 74 20 |f window| mytest |
|00001880| 74 6f 20 66 61 6c 73 65 | 22 0d 64 6f 20 69 74 0d |to false|".do it.|
|00001890| 67 65 74 20 22 73 65 74 | 20 74 68 65 22 26 26 64 |get "set| the"&&d|
|000018a0| 6c 26 22 5f 74 65 78 74 | 64 61 74 61 20 6f 66 20 |l&"_text|data of |
|000018b0| 77 69 6e 64 6f 77 20 6d | 79 74 65 73 74 20 74 6f |window m|ytest to|
|000018c0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|000018d0| 69 6e 65 73 20 69 6e 20 | 66 6f 75 6e 64 73 74 75 |ines in |foundstu|
|000018e0| 66 66 22 0d 64 6f 20 69 | 74 0d 67 65 74 20 22 73 |ff".do i|t.get "s|
|000018f0| 65 74 20 74 68 65 22 26 | 26 64 6e 26 22 5f 74 65 |et the"&|&dn&"_te|
|00001900| 78 74 64 61 74 61 20 6f | 66 20 77 69 6e 64 6f 77 |xtdata o|f window|
|00001910| 20 6d 79 74 65 73 74 20 | 74 6f 20 66 6f 75 6e 64 | mytest |to found|
|00001920| 73 74 75 66 66 22 0d 64 | 6f 20 69 74 0d 65 6e 64 |stuff".d|o it.end|
|00001930| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 67 | if.end |repeat.g|
|00001940| 65 74 20 74 68 65 20 64 | 6f 74 5f 72 65 63 74 20 |et the d|ot_rect |
|00001950| 6f 66 20 77 69 6e 64 6f | 77 20 6d 79 74 65 73 74 |of windo|w mytest|
|00001960| 0d 70 75 74 20 64 6f 74 | 76 20 69 6e 74 6f 20 69 |.put dot|v into i|
|00001970| 74 65 6d 20 32 20 6f 66 | 20 69 74 0d 70 75 74 20 |tem 2 of| it.put |
|00001980| 64 6f 74 76 2b 31 31 20 | 69 6e 74 6f 20 69 74 65 |dotv+11 |into ite|
|00001990| 6d 20 34 20 6f 66 20 69 | 74 0d 73 65 74 20 74 68 |m 4 of i|t.set th|
|000019a0| 65 20 64 6f 74 5f 72 65 | 63 74 20 6f 66 20 77 69 |e dot_re|ct of wi|
|000019b0| 6e 64 6f 77 20 6d 79 74 | 65 73 74 20 74 6f 20 69 |ndow myt|est to i|
|000019c0| 74 0d 69 66 20 74 6f 73 | 68 6f 77 20 3c 3e 20 22 |t.if tos|how <> "|
|000019d0| 22 0d 74 68 65 6e 0d 67 | 65 74 20 22 73 65 74 20 |".then.g|et "set |
|000019e0| 74 68 65 22 26 26 74 6f | 73 68 6f 77 26 22 5f 76 |the"&&to|show&"_v|
|000019f0| 69 73 69 62 6c 65 20 6f | 66 20 77 69 6e 64 6f 77 |isible o|f window|
|00001a00| 20 6d 79 74 65 73 74 20 | 74 6f 20 74 72 75 65 22 | mytest |to true"|
|00001a10| 0d 64 6f 20 69 74 0d 65 | 6e 64 20 69 66 0d 72 65 |.do it.e|nd if.re|
|00001a20| 70 65 61 74 20 77 69 74 | 68 20 61 20 3d 20 31 20 |peat wit|h a = 1 |
|00001a30| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00001a40| 20 69 74 65 6d 73 20 69 | 6e 20 64 69 73 70 6c 61 | items i|n displa|
|00001a50| 79 73 0d 70 75 74 20 69 | 74 65 6d 20 61 20 6f 66 |ys.put i|tem a of|
|00001a60| 20 64 69 73 70 6c 61 79 | 73 20 69 6e 74 6f 20 64 | display|s into d|
|00001a70| 6e 0d 67 65 74 20 22 73 | 65 74 20 74 68 65 22 26 |n.get "s|et the"&|
|00001a80| 26 64 6e 26 22 5f 73 63 | 72 6f 6c 6c 20 6f 66 20 |&dn&"_sc|roll of |
|00001a90| 77 69 6e 64 6f 77 20 6d | 79 74 65 73 74 20 74 6f |window m|ytest to|
|00001aa0| 20 30 22 0d 64 6f 20 69 | 74 0d 70 75 74 20 22 37 | 0".do i|t.put "7|
|00001ab0| 2c 31 38 36 2c 31 35 31 | 2c 33 38 38 22 20 69 6e |,186,151|,388" in|
|00001ac0| 74 6f 20 77 72 0d 70 75 | 74 20 22 33 2c 36 30 2c |to wr.pu|t "3,60,|
|00001ad0| 31 34 32 2c 31 39 35 22 | 20 69 6e 74 6f 20 72 0d |142,195"| into r.|
|00001ae0| 69 66 20 69 6e 63 6f 6e | 74 65 78 74 20 3c 3e 20 |if incon|text <> |
|00001af0| 22 22 0d 74 68 65 6e 0d | 70 75 74 20 32 39 35 20 |"".then.|put 295 |
|00001b00| 69 6e 74 6f 20 69 74 65 | 6d 20 33 20 6f 66 20 77 |into ite|m 3 of w|
|00001b10| 72 0d 70 75 74 20 32 38 | 35 20 69 6e 74 6f 20 69 |r.put 28|5 into i|
|00001b20| 74 65 6d 20 33 20 6f 66 | 20 72 0d 65 6e 64 20 69 |tem 3 of| r.end i|
|00001b30| 66 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |f.set th|e rect o|
|00001b40| 66 20 77 69 6e 64 6f 77 | 20 6d 79 74 65 73 74 20 |f window| mytest |
|00001b50| 74 6f 20 77 72 0d 67 65 | 74 20 22 73 65 74 20 74 |to wr.ge|t "set t|
|00001b60| 68 65 22 26 26 64 6e 26 | 22 5f 72 65 63 74 20 6f |he"&&dn&|"_rect o|
|00001b70| 66 20 77 69 6e 64 6f 77 | 20 6d 79 74 65 73 74 20 |f window| mytest |
|00001b80| 74 6f 20 72 22 0d 64 6f | 20 69 74 0d 65 6e 64 20 |to r".do| it.end |
|00001b90| 72 65 70 65 61 74 0d 67 | 65 74 20 22 d2 22 26 74 |repeat.g|et "."&t|
|00001ba0| 68 65 74 65 78 74 26 22 | d3 22 0d 73 65 74 20 6e |hetext&"|.".set n|
|00001bb0| 61 6d 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 79 |ame of w|indow my|
|00001bc0| 74 65 73 74 20 74 6f 20 | 69 74 0d 69 66 20 66 6f |test to |it.if fo|
|00001bd0| 75 6e 64 73 6f 6d 65 3d | 74 72 75 65 0d 74 68 65 |undsome=|true.the|
|00001be0| 6e 0d 73 65 74 20 74 68 | 65 20 75 73 65 72 64 61 |n.set th|e userda|
|00001bf0| 74 61 20 6f 66 20 77 69 | 6e 64 6f 77 20 69 74 20 |ta of wi|ndow it |
|00001c00| 74 6f 20 74 68 65 74 65 | 78 74 0d 70 75 74 20 74 |to thete|xt.put t|
|00001c10| 68 65 20 74 6f 70 6c 65 | 66 74 20 6f 66 20 77 69 |he tople|ft of wi|
|00001c20| 6e 64 6f 77 20 69 74 20 | 69 6e 74 6f 20 74 6c 0d |ndow it |into tl.|
|00001c30| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 74 6c 73 0d |put "" i|nto tls.|
|00001c40| 72 65 70 65 61 74 20 77 | 69 74 68 20 61 20 3d 20 |repeat w|ith a = |
|00001c50| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00001c60| 6f 66 20 77 69 6e 64 6f | 77 73 0d 69 66 20 76 69 |of windo|ws.if vi|
|00001c70| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|00001c80| 61 20 74 68 65 6e 20 70 | 75 74 20 74 6f 70 6c 65 |a then p|ut tople|
|00001c90| 66 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 61 20 26 |ft of wi|ndow a &|
|00001ca0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 6c | return |after tl|
|00001cb0| 73 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 70 |s.end re|peat.rep|
|00001cc0| 65 61 74 0d 69 66 20 74 | 6c 20 69 73 20 69 6e 20 |eat.if t|l is in |
|00001cd0| 74 6c 73 0d 74 68 65 6e | 0d 61 64 64 20 31 35 20 |tls.then|.add 15 |
|00001ce0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 74 6c 0d |to item |1 of tl.|
|00001cf0| 61 64 64 20 31 35 20 74 | 6f 20 69 74 65 6d 20 32 |add 15 t|o item 2|
|00001d00| 20 6f 66 20 74 6c 0d 65 | 6c 73 65 0d 65 78 69 74 | of tl.e|lse.exit|
|00001d10| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00001d20| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 74 6f |nd repea|t.set to|
|00001d30| 70 6c 65 66 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |pleft of| window |
|00001d40| 69 74 20 74 6f 20 74 6c | 0d 70 75 74 20 72 65 63 |it to tl|.put rec|
|00001d50| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 69 74 20 69 |t of win|dow it i|
|00001d60| 6e 74 6f 20 77 72 0d 70 | 75 74 20 69 74 65 6d 20 |nto wr.p|ut item |
|00001d70| 32 20 6f 66 20 77 72 20 | 2d 20 31 20 69 6e 74 6f |2 of wr |- 1 into|
|00001d80| 20 69 74 65 6d 20 34 20 | 6f 66 20 77 72 0d 73 65 | item 4 |of wr.se|
|00001d90| 74 20 74 68 65 20 63 6f | 6c 6c 61 70 73 65 64 72 |t the co|llapsedr|
|00001da0| 65 63 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 69 74 |ect of w|indow it|
|00001db0| 20 74 6f 20 77 72 0d 73 | 68 6f 77 20 77 69 6e 64 | to wr.s|how wind|
|00001dc0| 6f 77 20 69 74 0d 73 65 | 74 20 74 68 65 20 64 6f |ow it.se|t the do|
|00001dd0| 6e 74 65 72 61 73 65 20 | 6f 66 20 77 69 6e 64 6f |nterase |of windo|
|00001de0| 77 20 69 74 20 74 6f 20 | 74 72 75 65 0d 65 6c 73 |w it to |true.els|
|00001df0| 65 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 69 |e.close |window i|
|00001e00| 74 0d 61 6e 73 77 65 72 | 20 22 d2 22 26 74 68 65 |t.answer| "."&the|
|00001e10| 74 65 78 74 26 22 d3 20 | 77 61 73 20 6e 6f 74 20 |text&". |was not |
|00001e20| 66 6f 75 6e 64 20 69 6e | 20 61 6e 79 20 6f 66 20 |found in| any of |
|00001e30| 74 68 65 20 63 68 6f 73 | 65 6e 20 73 65 63 74 69 |the chos|en secti|
|00001e40| 6f 6e 73 2e 22 0d 65 6e | 64 20 69 66 0d 73 65 74 |ons.".en|d if.set|
|00001e50| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 72 6f 77 73 | cursor |to brows|
|00001e60| 65 0d 65 6e 64 20 66 69 | 6e 64 73 74 75 66 66 0d |e.end fi|ndstuff.|
|00001e70| 66 75 6e 63 74 69 6f 6e | 20 69 6e 64 65 78 73 65 |function| indexse|
|00001e80| 61 72 63 68 20 74 68 65 | 74 65 78 74 2c 77 68 65 |arch the|text,whe|
|00001e90| 72 65 0d 67 6c 6f 62 61 | 6c 20 67 57 69 6e 64 6f |re.globa|l gWindo|
|00001ea0| 77 4e 61 6d 65 2c 74 74 | 2c 69 6e 64 65 78 66 6f |wName,tt|,indexfo|
|00001eb0| 6c 64 65 72 0d 70 75 74 | 20 66 6c 64 20 22 70 61 |lder.put| fld "pa|
|00001ec0| 74 68 22 20 6f 66 20 63 | 64 20 31 20 69 6e 74 6f |th" of c|d 1 into|
|00001ed0| 20 69 6e 64 65 78 66 6f | 6c 64 65 72 0d 70 75 74 | indexfo|lder.put|
|00001ee0| 20 22 61 22 20 69 6e 74 | 6f 20 67 57 69 6e 64 6f | "a" int|o gWindo|
|00001ef0| 77 4e 61 6d 65 0d 69 66 | 20 74 68 65 72 65 20 69 |wName.if| there i|
|00001f00| 73 20 6e 6f 74 20 61 20 | 77 69 6e 64 6f 77 20 67 |s not a |window g|
|00001f10| 57 69 6e 64 6f 77 4e 61 | 6d 65 20 74 68 65 6e 0d |WindowNa|me then.|
|00001f20| 49 6e 64 65 78 54 65 78 | 74 20 67 57 69 6e 64 6f |IndexTex|t gWindo|
|00001f30| 77 4e 61 6d 65 0d 65 6e | 64 20 69 66 0d 6d 61 78 |wName.en|d if.max|
|00001f40| 6d 65 6d 0d 70 75 74 20 | 74 68 65 20 68 65 61 70 |mem.put |the heap|
|00001f50| 73 70 61 63 65 20 69 6e | 74 6f 20 74 74 0d 67 65 |space in|to tt.ge|
|00001f60| 74 20 69 6e 64 65 78 66 | 6f 6c 64 65 72 26 77 68 |t indexf|older&wh|
|00001f70| 65 72 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ere.if t|here is |
|00001f80| 6e 6f 74 20 61 20 66 69 | 6c 65 20 69 74 20 74 68 |not a fi|le it th|
|00001f90| 65 6e 20 72 65 74 75 72 | 6e 20 22 22 0d 73 65 74 |en retur|n "".set|
|00001fa0| 20 74 68 65 20 57 6f 72 | 64 44 61 74 61 46 69 6c | the Wor|dDataFil|
|00001fb0| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 67 77 69 6e |e of win|dow gwin|
|00001fc0| 64 6f 77 6e 61 6d 65 20 | 74 6f 20 69 74 0d 73 65 |downame |to it.se|
|00001fd0| 74 20 74 68 65 20 66 69 | 6e 64 6c 6f 67 69 63 20 |t the fi|ndlogic |
|00001fe0| 6f 66 20 77 69 6e 64 6f | 77 20 67 77 69 6e 64 6f |of windo|w gwindo|
|00001ff0| 77 6e 61 6d 65 20 74 6f | 20 22 41 4e 44 22 0d 73 |wname to| "AND".s|
|00002000| 65 74 20 74 68 65 20 66 | 69 6e 64 6c 6f 67 69 63 |et the f|indlogic|
|00002010| 20 6f 66 20 77 69 6e 64 | 6f 77 20 67 77 69 6e 64 | of wind|ow gwind|
|00002020| 6f 77 6e 61 6d 65 20 74 | 6f 20 22 4f 52 22 0d 73 |owname t|o "OR".s|
|00002030| 65 74 20 74 68 65 20 66 | 69 6e 64 77 68 6f 6c 65 |et the f|indwhole|
|00002040| 77 6f 72 64 73 20 6f 66 | 20 77 69 6e 64 6f 77 20 |words of| window |
|00002050| 67 77 69 6e 64 6f 77 6e | 61 6d 65 20 74 6f 20 74 |gwindown|ame to t|
|00002060| 72 75 65 0d 67 65 74 20 | 74 68 65 74 65 78 74 0d |rue.get |thetext.|
|00002070| 69 66 20 69 74 20 3d 20 | 22 22 20 74 68 65 6e 20 |if it = |"" then |
|00002080| 65 78 69 74 20 69 6e 64 | 65 78 73 65 61 72 63 68 |exit ind|exsearch|
|00002090| 0d 73 65 74 20 74 68 65 | 20 70 68 72 61 73 65 74 |.set the| phraset|
|000020a0| 6f 66 69 6e 64 20 6f 66 | 20 77 69 6e 64 6f 77 20 |ofind of| window |
|000020b0| 67 77 69 6e 64 6f 77 6e | 61 6d 65 20 74 6f 20 69 |gwindown|ame to i|
|000020c0| 74 0d 73 65 74 20 74 68 | 65 20 66 69 6e 64 6c 6f |t.set th|e findlo|
|000020d0| 67 69 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 67 77 |gic of w|indow gw|
|000020e0| 69 6e 64 6f 77 6e 61 6d | 65 20 74 6f 20 22 61 6e |indownam|e to "an|
|000020f0| 64 22 0d 73 65 74 20 74 | 68 65 20 66 69 6e 64 77 |d".set t|he findw|
|00002100| 68 6f 6c 65 77 6f 72 64 | 73 20 6f 66 20 77 69 6e |holeword|s of win|
|00002110| 64 6f 77 20 67 77 69 6e | 64 6f 77 6e 61 6d 65 20 |dow gwin|downame |
|00002120| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00002130| 66 69 6c 65 73 74 6f 73 | 65 61 72 63 68 20 6f 66 |filestos|earch of|
|00002140| 20 77 69 6e 64 6f 77 20 | 67 77 69 6e 64 6f 77 6e | window |gwindown|
|00002150| 61 6d 65 20 74 6f 20 22 | 22 0d 73 65 74 20 74 68 |ame to "|".set th|
|00002160| 65 20 66 69 6c 65 6d 61 | 70 20 6f 66 20 77 69 6e |e filema|p of win|
|00002170| 64 6f 77 20 67 77 69 6e | 64 6f 77 6e 61 6d 65 20 |dow gwin|downame |
|00002180| 74 6f 20 22 22 0d 73 65 | 74 20 74 68 65 20 73 6f |to "".se|t the so|
|00002190| 72 74 62 79 6e 75 6d 68 | 69 74 73 20 6f 66 20 77 |rtbynumh|its of w|
|000021a0| 69 6e 64 6f 77 20 67 77 | 69 6e 64 6f 77 6e 61 6d |indow gw|indownam|
|000021b0| 65 20 74 6f 20 66 61 6c | 73 65 0d 73 65 74 20 74 |e to fal|se.set t|
|000021c0| 68 65 20 72 65 74 75 72 | 6e 6e 75 6d 68 69 74 73 |he retur|nnumhits|
|000021d0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 67 77 69 6e 64 | of wind|ow gwind|
|000021e0| 6f 77 6e 61 6d 65 20 74 | 6f 20 66 61 6c 73 65 0d |owname t|o false.|
|000021f0| 73 65 6e 64 20 70 65 72 | 66 6f 72 6d 66 69 6e 64 |send per|formfind|
|00002200| 20 74 6f 20 77 69 6e 64 | 6f 77 20 67 77 69 6e 64 | to wind|ow gwind|
|00002210| 6f 77 6e 61 6d 65 0d 70 | 75 74 20 74 68 65 20 66 |owname.p|ut the f|
|00002220| 6f 75 6e 64 77 6f 72 64 | 73 20 6f 66 20 77 69 6e |oundword|s of win|
|00002230| 64 6f 77 20 67 77 69 6e | 64 6f 77 6e 61 6d 65 20 |dow gwin|downame |
|00002240| 69 6e 74 6f 20 66 0d 70 | 75 74 20 74 68 65 20 66 |into f.p|ut the f|
|00002250| 6f 75 6e 64 66 69 6c 65 | 73 20 6f 66 20 77 69 6e |oundfile|s of win|
|00002260| 64 6f 77 20 67 77 69 6e | 64 6f 77 6e 61 6d 65 20 |dow gwin|downame |
|00002270| 69 6e 74 6f 20 67 0d 72 | 65 74 75 72 6e 20 67 0d |into g.r|eturn g.|
|00002280| 65 6e 64 20 69 6e 64 65 | 78 73 65 61 72 63 68 0d |end inde|xsearch.|
|00002290| 6f 6e 20 67 6f 74 6f 66 | 6f 75 6e 64 70 61 67 65 |on gotof|oundpage|
|000022a0| 20 73 73 2c 6f 66 66 73 | 65 74 2c 74 68 65 74 65 | ss,offs|et,thete|
|000022b0| 78 74 0d 67 6c 6f 62 61 | 6c 20 74 63 74 2c 70 6c |xt.globa|l tct,pl|
|000022c0| 69 73 74 2c 66 72 6f 6d | 66 69 6e 64 0d 69 66 20 |ist,from|find.if |
|000022d0| 6f 66 66 73 65 74 20 3d | 20 22 22 20 74 68 65 6e |offset =| "" then|
|000022e0| 20 65 78 69 74 20 67 6f | 74 6f 66 6f 75 6e 64 70 | exit go|tofoundp|
|000022f0| 61 67 65 0d 6c 73 0d 73 | 65 74 20 63 75 72 73 6f |age.ls.s|et curso|
|00002300| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 74 |r to wat|ch.put t|
|00002310| 68 65 20 69 74 65 6d 64 | 65 6c 69 6d 69 74 65 72 |he itemd|elimiter|
|00002320| 20 69 6e 74 6f 20 69 64 | 0d 73 65 74 20 74 68 65 | into id|.set the|
|00002330| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 74 | itemdel|imiter t|
|00002340| 6f 20 22 2d 22 0d 70 75 | 74 20 69 74 65 6d 20 31 |o "-".pu|t item 1|
|00002350| 20 6f 66 20 6f 66 66 73 | 65 74 20 69 6e 74 6f 20 | of offs|et into |
|00002360| 74 68 65 70 61 67 65 0d | 70 75 74 20 69 74 65 6d |thepage.|put item|
|00002370| 20 32 20 74 6f 20 39 39 | 39 39 20 6f 66 20 6f 66 | 2 to 99|99 of of|
|00002380| 66 73 65 74 20 69 6e 74 | 6f 20 6f 66 66 73 65 74 |fset int|o offset|
|00002390| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 64 65 6c |.set the| itemdel|
|000023a0| 69 6d 69 74 65 72 20 74 | 6f 20 69 64 0d 67 65 74 |imiter t|o id.get|
|000023b0| 20 28 77 6f 72 64 20 31 | 20 6f 66 20 74 68 65 70 | (word 1| of thep|
|000023c0| 61 67 65 29 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |age).set| cursor |
|000023d0| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 22 7a 7a |to watch|.put "zz|
|000023e0| 7a 7a 7a 7a 22 20 69 6e | 74 6f 20 70 6c 69 73 74 |zzzz" in|to plist|
|000023f0| 0d 67 6f 70 61 67 65 20 | 69 74 0d 6f 63 73 74 75 |.gopage |it.ocstu|
|00002400| 66 66 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |ff.if th|e number|
|00002410| 20 6f 66 20 77 6f 72 64 | 73 20 69 6e 20 6f 66 66 | of word|s in off|
|00002420| 73 65 74 20 3e 20 30 0d | 74 68 65 6e 0d 75 73 66 |set > 0.|then.usf|
|00002430| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 74 6f 20 39 |.put wor|d 1 to 9|
|00002440| 39 39 20 6f 66 20 6f 66 | 66 73 65 74 20 69 6e 74 |99 of of|fset int|
|00002450| 6f 20 74 68 65 77 6f 72 | 64 73 0d 67 65 74 20 73 |o thewor|ds.get s|
|00002460| 65 6c 65 63 74 74 68 69 | 73 74 65 78 74 28 74 68 |electthi|stext(th|
|00002470| 65 77 6f 72 64 73 2c 66 | 6c 64 20 22 73 74 79 6c |ewords,f|ld "styl|
|00002480| 65 64 22 29 0d 69 66 20 | 69 74 20 3e 20 30 0d 74 |ed").if |it > 0.t|
|00002490| 68 65 6e 0d 73 65 6c 65 | 63 74 20 63 68 61 72 20 |hen.sele|ct char |
|000024a0| 69 74 20 74 6f 20 69 74 | 2b 74 68 65 20 6e 75 6d |it to it|+the num|
|000024b0| 62 65 72 20 6f 66 20 63 | 68 61 72 73 20 69 6e 20 |ber of c|hars in |
|000024c0| 74 68 65 77 6f 72 64 73 | 2d 31 20 6f 66 20 66 6c |thewords|-1 of fl|
|000024d0| 64 20 22 73 74 79 6c 65 | 64 22 0d 65 6c 73 65 0d |d "style|d".else.|
|000024e0| 67 65 74 20 73 65 6c 65 | 63 74 74 68 69 73 74 65 |get sele|ctthiste|
|000024f0| 78 74 28 74 68 65 77 6f | 72 64 73 2c 66 6c 64 20 |xt(thewo|rds,fld |
|00002500| 22 73 74 79 6c 65 64 32 | 22 29 0d 69 66 20 69 74 |"styled2|").if it|
|00002510| 20 3e 20 30 0d 74 68 65 | 6e 20 73 65 6c 65 63 74 | > 0.the|n select|
|00002520| 20 63 68 61 72 20 69 74 | 20 74 6f 20 69 74 2b 74 | char it| to it+t|
|00002530| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00002540| 72 73 20 69 6e 20 74 68 | 65 77 6f 72 64 73 2d 31 |rs in th|ewords-1|
|00002550| 20 6f 66 20 66 6c 64 20 | 22 73 74 79 6c 65 64 32 | of fld |"styled2|
|00002560| 22 0d 65 6e 64 20 69 66 | 0d 75 73 0d 65 6c 73 65 |".end if|.us.else|
|00002570| 0d 69 66 20 74 68 65 74 | 65 78 74 20 69 73 20 69 |.if thet|ext is i|
|00002580| 6e 20 66 6c 64 20 22 73 | 74 79 6c 65 64 22 0d 74 |n fld "s|tyled".t|
|00002590| 68 65 6e 20 66 69 6e 64 | 20 74 68 65 74 65 78 74 |hen find| thetext|
|000025a0| 20 69 6e 20 66 6c 64 20 | 22 73 74 79 6c 65 64 22 | in fld |"styled"|
|000025b0| 0d 65 6c 73 65 20 66 69 | 6e 64 20 74 68 65 74 65 |.else fi|nd thete|
|000025c0| 78 74 20 69 6e 20 66 6c | 64 20 22 73 74 79 6c 65 |xt in fl|d "style|
|000025d0| 64 32 22 0d 75 73 66 0d | 73 65 6c 65 63 74 20 74 |d2".usf.|select t|
|000025e0| 68 65 20 66 6f 75 6e 64 | 63 68 75 6e 6b 0d 65 6e |he found|chunk.en|
|000025f0| 64 20 69 66 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |d if.set| cursor |
|00002600| 74 6f 20 62 72 6f 77 73 | 65 0d 65 6e 64 20 67 6f |to brows|e.end go|
|00002610| 74 6f 66 6f 75 6e 64 70 | 61 67 65 0d 66 75 6e 63 |tofoundp|age.func|
|00002620| 74 69 6f 6e 20 73 65 6c | 65 63 74 74 68 69 73 74 |tion sel|ectthist|
|00002630| 65 78 74 20 74 68 65 74 | 65 78 74 2c 74 68 65 66 |ext thet|ext,thef|
|00002640| 69 65 6c 64 0d 72 65 70 | 65 61 74 0d 67 65 74 20 |ield.rep|eat.get |
|00002650| 6f 66 66 73 65 74 28 72 | 65 74 75 72 6e 2c 74 68 |offset(r|eturn,th|
|00002660| 65 66 69 65 6c 64 29 0d | 69 66 20 69 74 20 3d 20 |efield).|if it = |
|00002670| 30 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |0 then e|xit repe|
|00002680| 61 74 0d 70 75 74 20 73 | 70 61 63 65 20 69 6e 74 |at.put s|pace int|
|00002690| 6f 20 63 68 61 72 20 69 | 74 20 6f 66 20 74 68 65 |o char i|t of the|
|000026a0| 66 69 65 6c 64 0d 65 6e | 64 20 72 65 70 65 61 74 |field.en|d repeat|
|000026b0| 0d 67 65 74 20 6f 66 66 | 73 65 74 28 74 68 65 74 |.get off|set(thet|
|000026c0| 65 78 74 2c 74 68 65 66 | 69 65 6c 64 29 0d 72 65 |ext,thef|ield).re|
|000026d0| 74 75 72 6e 20 69 74 0d | 65 6e 64 20 73 65 6c 65 |turn it.|end sele|
|000026e0| 63 74 74 68 69 73 74 65 | 78 74 0d 6f 6e 20 63 68 |ctthiste|xt.on ch|
|000026f0| 61 6e 67 65 63 6f 6c 6f | 72 6e 61 6d 65 20 75 63 |angecolo|rname uc|
|00002700| 0d 67 6c 6f 62 61 6c 20 | 63 6f 6c 6f 72 6e 61 6d |.global |colornam|
|00002710| 65 73 0d 69 66 20 63 6f | 6c 6f 72 6e 61 6d 65 73 |es.if co|lornames|
|00002720| 20 3d 20 22 22 20 74 68 | 65 6e 20 70 75 74 20 66 | = "" th|en put f|
|00002730| 6c 64 20 22 63 6f 6c 6f | 72 20 6e 61 6d 65 73 22 |ld "colo|r names"|
|00002740| 20 6f 66 20 63 64 20 31 | 20 69 6e 74 6f 20 63 6f | of cd 1| into co|
|00002750| 6c 6f 72 6e 61 6d 65 73 | 0d 69 66 20 75 63 20 3d |lornames|.if uc =|
|00002760| 20 79 65 6c 6c 6f 77 20 | 6f 72 20 75 63 20 3d 20 | yellow |or uc = |
|00002770| 22 36 35 35 33 35 2c 36 | 35 35 33 35 2c 30 22 20 |"65535,6|5535,0" |
|00002780| 74 68 65 6e 20 70 75 74 | 20 31 20 69 6e 74 6f 20 |then put| 1 into |
|00002790| 61 0d 69 66 20 75 63 20 | 3d 20 67 72 65 65 6e 20 |a.if uc |= green |
|000027a0| 6f 72 20 75 63 20 3d 20 | 22 32 36 31 31 32 2c 36 |or uc = |"26112,6|
|000027b0| 35 35 33 35 2c 30 22 20 | 74 68 65 6e 20 70 75 74 |5535,0" |then put|
|000027c0| 20 32 20 69 6e 74 6f 20 | 61 0d 69 66 20 75 63 20 | 2 into |a.if uc |
|000027d0| 3d 20 62 6c 75 65 20 6f | 72 20 75 63 20 3d 20 22 |= blue o|r uc = "|
|000027e0| 32 36 36 32 34 2c 35 32 | 32 32 34 2c 36 35 35 33 |26624,52|224,6553|
|000027f0| 35 22 20 74 68 65 6e 20 | 70 75 74 20 33 20 69 6e |5" then |put 3 in|
|00002800| 74 6f 20 61 0d 69 66 20 | 75 63 20 3d 20 6f 72 61 |to a.if |uc = ora|
|00002810| 6e 67 65 20 6f 72 20 75 | 63 20 3d 20 22 36 35 35 |nge or u|c = "655|
|00002820| 33 35 2c 32 36 31 31 32 | 2c 30 22 20 74 68 65 6e |35,26112|,0" then|
|00002830| 20 70 75 74 20 34 20 69 | 6e 74 6f 20 61 0d 69 66 | put 4 i|nto a.if|
|00002840| 20 75 63 20 3d 20 77 68 | 69 74 65 20 6f 72 20 75 | uc = wh|ite or u|
|00002850| 63 20 3d 20 22 36 35 35 | 33 35 2c 36 35 35 33 35 |c = "655|35,65535|
|00002860| 2c 36 35 35 33 35 22 20 | 74 68 65 6e 20 70 75 74 |,65535" |then put|
|00002870| 20 35 20 69 6e 74 6f 20 | 61 0d 61 73 6b 20 22 43 | 5 into |a.ask "C|
|00002880| 68 61 6e 67 65 20 74 68 | 65 20 6e 61 6d 65 20 66 |hange th|e name f|
|00002890| 6f 72 20 74 68 69 73 20 | 63 6f 6c 6f 72 3a 22 20 |or this |color:" |
|000028a0| 77 69 74 68 20 6c 69 6e | 65 20 61 20 6f 66 20 63 |with lin|e a of c|
|000028b0| 6f 6c 6f 72 6e 61 6d 65 | 73 0d 69 66 20 69 74 20 |olorname|s.if it |
|000028c0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|000028d0| 6e 20 70 75 74 20 69 74 | 20 69 6e 74 6f 20 6c 69 |n put it| into li|
|000028e0| 6e 65 20 61 20 6f 66 20 | 66 6c 64 20 22 63 6f 6c |ne a of |fld "col|
|000028f0| 6f 72 20 6e 61 6d 65 73 | 22 20 6f 66 20 63 64 20 |or names|" of cd |
|00002900| 31 0d 70 75 74 20 66 6c | 64 20 22 63 6f 6c 6f 72 |1.put fl|d "color|
|00002910| 20 6e 61 6d 65 73 22 20 | 6f 66 20 63 64 20 31 20 | names" |of cd 1 |
|00002920| 69 6e 74 6f 20 63 6f 6c | 6f 72 6e 61 6d 65 73 0d |into col|ornames.|
|00002930| 65 6e 64 20 63 68 61 6e | 67 65 63 6f 6c 6f 72 6e |end chan|gecolorn|
|00002940| 61 6d 65 0d 66 75 6e 63 | 74 69 6f 6e 20 63 6f 6c |ame.func|tion col|
|00002950| 6f 72 74 6f 6e 61 6d 65 | 20 75 63 0d 67 6c 6f 62 |ortoname| uc.glob|
|00002960| 61 6c 20 63 6f 6c 6f 72 | 6e 61 6d 65 73 0d 70 75 |al color|names.pu|
|00002970| 74 20 63 6f 6c 6f 72 6e | 61 6d 65 73 20 69 6e 74 |t colorn|ames int|
|00002980| 6f 20 63 6e 0d 69 66 20 | 63 6f 6c 6f 72 6e 61 6d |o cn.if |colornam|
|00002990| 65 73 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 |es = "" |then put|
|000029a0| 20 66 6c 64 20 22 63 6f | 6c 6f 72 20 6e 61 6d 65 | fld "co|lor name|
|000029b0| 73 22 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |s" of cd| 1 into |
|000029c0| 63 6e 0d 69 66 20 75 63 | 20 3d 20 79 65 6c 6c 6f |cn.if uc| = yello|
|000029d0| 77 20 6f 72 20 75 63 20 | 3d 20 22 36 35 35 33 35 |w or uc |= "65535|
|000029e0| 2c 36 35 35 33 35 2c 30 | 22 20 74 68 65 6e 20 72 |,65535,0|" then r|
|000029f0| 65 74 75 72 6e 20 6c 69 | 6e 65 20 31 20 6f 66 20 |eturn li|ne 1 of |
|00002a00| 63 6e 0d 69 66 20 75 63 | 20 3d 20 67 72 65 65 6e |cn.if uc| = green|
|00002a10| 20 6f 72 20 75 63 20 3d | 20 22 32 36 31 31 32 2c | or uc =| "26112,|
|00002a20| 36 35 35 33 35 2c 30 22 | 20 74 68 65 6e 20 72 65 |65535,0"| then re|
|00002a30| 74 75 72 6e 20 6c 69 6e | 65 20 32 20 6f 66 20 63 |turn lin|e 2 of c|
|00002a40| 6e 0d 69 66 20 75 63 20 | 3d 20 62 6c 75 65 20 6f |n.if uc |= blue o|
|00002a50| 72 20 75 63 20 3d 20 22 | 32 36 36 32 34 2c 35 32 |r uc = "|26624,52|
|00002a60| 32 32 34 2c 36 35 35 33 | 35 22 20 74 68 65 6e 20 |224,6553|5" then |
|00002a70| 72 65 74 75 72 6e 20 6c | 69 6e 65 20 33 20 6f 66 |return l|ine 3 of|
|00002a80| 20 63 6e 0d 69 66 20 75 | 63 20 3d 20 6f 72 61 6e | cn.if u|c = oran|
|00002a90| 67 65 20 6f 72 20 75 63 | 20 3d 20 22 36 35 35 33 |ge or uc| = "6553|
|00002aa0| 35 2c 32 36 31 31 32 2c | 30 22 20 74 68 65 6e 20 |5,26112,|0" then |
|00002ab0| 72 65 74 75 72 6e 20 6c | 69 6e 65 20 34 20 6f 66 |return l|ine 4 of|
|00002ac0| 20 63 6e 0d 69 66 20 75 | 63 20 3d 20 77 68 69 74 | cn.if u|c = whit|
|00002ad0| 65 20 6f 72 20 75 63 20 | 3d 20 22 36 35 35 33 35 |e or uc |= "65535|
|00002ae0| 2c 36 35 35 33 35 2c 36 | 35 35 33 35 22 20 74 68 |,65535,6|5535" th|
|00002af0| 65 6e 20 72 65 74 75 72 | 6e 20 77 68 69 74 65 0d |en retur|n white.|
|00002b00| 65 6e 64 20 63 6f 6c 6f | 72 74 6f 6e 61 6d 65 0d |end colo|rtoname.|
|00002b10| 6f 6e 20 6f 70 65 6e 63 | 61 72 64 0d 67 6c 6f 62 |on openc|ard.glob|
|00002b20| 61 6c 20 74 53 54 0d 70 | 75 74 20 66 61 6c 73 65 |al tST.p|ut false|
|00002b30| 20 69 6e 74 6f 20 74 53 | 54 0d 73 65 6e 64 20 6f | into tS|T.send o|
|00002b40| 63 73 74 75 66 66 20 74 | 6f 20 74 68 69 73 20 63 |cstuff t|o this c|
|00002b50| 64 0d 75 73 66 0d 69 66 | 20 74 68 65 72 65 20 69 |d.usf.if| there i|
|00002b60| 73 20 61 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |s a card| field "|
|00002b70| 6e 6f 74 65 70 61 64 22 | 0d 74 68 65 6e 0d 73 65 |notepad"|.then.se|
|00002b80| 74 20 74 68 65 20 6c 6f | 63 6b 74 65 78 74 20 6f |t the lo|cktext o|
|00002b90| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 6e 6f |f card f|ield "no|
|00002ba0| 74 65 70 61 64 22 20 74 | 6f 20 66 61 6c 73 65 0d |tepad" t|o false.|
|00002bb0| 73 65 6c 65 63 74 20 61 | 66 74 65 72 20 74 65 78 |select a|fter tex|
|00002bc0| 74 20 6f 66 20 63 61 72 | 64 20 66 6c 64 20 22 6e |t of car|d fld "n|
|00002bd0| 6f 74 65 70 61 64 22 0d | 65 6e 64 20 69 66 0d 69 |otepad".|end if.i|
|00002be0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 66 6c 64 |f there |is a fld|
|00002bf0| 20 22 70 61 67 65 6e 6f | 22 20 74 68 65 6e 20 70 | "pageno|" then p|
|00002c00| 75 74 20 43 4e 28 29 20 | 69 6e 74 6f 20 66 6c 64 |ut CN() |into fld|
|00002c10| 20 22 70 61 67 65 6e 6f | 22 0d 70 6f 73 69 74 69 | "pageno|".positi|
|00002c20| 6f 6e 6d 61 70 0d 65 6e | 64 20 6f 70 65 6e 63 61 |onmap.en|d openca|
|00002c30| 72 64 0d 6f 6e 20 63 6c | 6f 73 65 6d 6f 76 69 65 |rd.on cl|osemovie|
|00002c40| 73 0d 67 6c 6f 62 61 6c | 20 6f 6b 74 6f 70 6c 61 |s.global| oktopla|
|00002c50| 79 2c 73 68 6f 77 6e 64 | 74 2c 70 6c 69 73 74 0d |y,shownd|t,plist.|
|00002c60| 2d 2d 70 75 74 20 22 7a | 7a 7a 7a 7a 7a 22 20 69 |--put "z|zzzzz" i|
|00002c70| 6e 74 6f 20 70 6c 69 73 | 74 0d 70 75 74 20 22 22 |nto plis|t.put ""|
|00002c80| 20 69 6e 74 6f 20 73 68 | 6f 77 6e 64 74 0d 70 75 | into sh|owndt.pu|
|00002c90| 74 20 22 22 20 69 6e 74 | 6f 20 6f 6b 74 6f 70 6c |t "" int|o oktopl|
|00002ca0| 61 79 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 61 |ay.repea|t with a|
|00002cb0| 20 3d 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 | = the n|umber of|
|00002cc0| 20 77 69 6e 64 6f 77 73 | 20 64 6f 77 6e 20 74 6f | windows| down to|
|00002cd0| 20 31 0d 69 66 20 74 68 | 65 20 6f 77 6e 65 72 20 | 1.if th|e owner |
|00002ce0| 6f 66 20 77 69 6e 64 6f | 77 20 61 20 3d 20 6d 6f |of windo|w a = mo|
|00002cf0| 76 69 65 20 6f 72 20 74 | 68 65 20 6e 61 6d 65 20 |vie or t|he name |
|00002d00| 6f 66 20 77 69 6e 64 6f | 77 20 61 20 3d 20 22 74 |of windo|w a = "t|
|00002d10| 72 61 6e 73 63 72 69 70 | 74 22 20 6f 72 20 74 68 |ranscrip|t" or th|
|00002d20| 65 20 6e 61 6d 65 20 6f | 66 20 77 69 6e 64 6f 77 |e name o|f window|
|00002d30| 20 61 20 3d 20 22 63 61 | 70 74 69 6f 6e 22 20 6f | a = "ca|ption" o|
|00002d40| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 77 69 |r the na|me of wi|
|00002d50| 6e 64 6f 77 20 61 20 3d | 20 22 68 69 6e 74 22 0d |ndow a =| "hint".|
|00002d60| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 64 6f 6e |then.set| the don|
|00002d70| 74 65 72 61 73 65 20 6f | 66 20 77 69 6e 64 6f 77 |terase o|f window|
|00002d80| 20 61 20 74 6f 20 77 69 | 6e 63 28 61 29 0d 63 6c | a to wi|nc(a).cl|
|00002d90| 6f 73 65 20 77 69 6e 64 | 6f 77 20 61 0d 65 6e 64 |ose wind|ow a.end|
|00002da0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|00002db0| 6e 64 20 63 6c 6f 73 65 | 6d 6f 76 69 65 73 0d 6f |nd close|movies.o|
|00002dc0| 6e 20 63 6c 6f 73 65 63 | 61 72 64 0d 6c 73 0d 63 |n closec|ard.ls.c|
|00002dd0| 6c 6f 73 65 6d 6f 76 69 | 65 73 0d 70 61 73 73 20 |losemovi|es.pass |
|00002de0| 63 6c 6f 73 65 63 61 72 | 64 0d 65 6e 64 20 63 6c |closecar|d.end cl|
|00002df0| 6f 73 65 63 61 72 64 0d | 6f 6e 20 64 6f 6d 61 72 |osecard.|on domar|
|00002e00| 6b 0d 65 6e 64 20 64 6f | 6d 61 72 6b 0d 6f 6e 20 |k.end do|mark.on |
|00002e10| 75 73 66 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |usf.repe|at until|
|00002e20| 20 74 68 65 20 6c 6f 63 | 6b 73 63 72 65 65 6e 20 | the loc|kscreen |
|00002e30| 3d 20 66 61 6c 73 65 0d | 75 6e 6c 6f 63 6b 20 73 |= false.|unlock s|
|00002e40| 63 72 65 65 6e 0d 65 6e | 64 20 72 65 70 65 61 74 |creen.en|d repeat|
|00002e50| 0d 65 6e 64 20 75 73 66 | 0d 6f 6e 20 66 69 6e 64 |.end usf|.on find|
|00002e60| 63 6f 6c 6f 72 73 20 75 | 73 65 72 63 6f 6c 6f 72 |colors u|sercolor|
|00002e70| 0d 67 6c 6f 62 61 6c 20 | 6e 61 6d 65 6c 69 73 74 |.global |namelist|
|00002e80| 2c 74 68 65 74 65 78 74 | 2c 66 69 72 73 74 6e 61 |,thetext|,firstna|
|00002e90| 6d 65 2c 69 64 6c 69 73 | 74 2c 42 6e 61 6d 65 2c |me,idlis|t,Bname,|
|00002ea0| 63 6f 6c 6f 72 74 69 74 | 6c 65 2c 73 65 6c 65 63 |colortit|le,selec|
|00002eb0| 74 65 64 73 74 75 66 66 | 0d 69 66 20 74 68 65 72 |tedstuff|.if ther|
|00002ec0| 65 20 69 73 20 6e 6f 74 | 20 61 20 66 6c 64 20 22 |e is not| a fld "|
|00002ed0| 63 6f 6c 6f 72 65 64 6c | 69 6e 65 73 22 20 74 68 |coloredl|ines" th|
|00002ee0| 65 6e 20 65 78 69 74 20 | 66 69 6e 64 63 6f 6c 6f |en exit |findcolo|
|00002ef0| 72 73 0d 70 75 74 20 75 | 73 65 72 63 6f 6c 6f 72 |rs.put u|sercolor|
|00002f00| 26 22 70 6c 61 63 65 73 | 22 20 69 6e 74 6f 20 63 |&"places|" into c|
|00002f10| 6f 6c 6f 72 74 69 74 6c | 65 0d 69 66 20 66 6c 64 |olortitl|e.if fld|
|00002f20| 20 63 6f 6c 6f 72 74 69 | 74 6c 65 20 3d 20 22 22 | colorti|tle = ""|
|00002f30| 0d 74 68 65 6e 0d 69 66 | 20 75 73 65 72 63 6f 6c |.then.if| usercol|
|00002f40| 6f 72 20 3d 20 22 61 6c | 6c 22 0d 74 68 65 6e 20 |or = "al|l".then |
|00002f50| 70 75 74 20 22 4e 6f 20 | 63 6f 6c 6f 72 20 68 69 |put "No |color hi|
|00002f60| 67 68 6c 69 67 68 74 73 | 20 61 6e 79 77 68 65 72 |ghlights| anywher|
|00002f70| 65 2e 22 20 69 6e 74 6f | 20 68 0d 65 6c 73 65 20 |e." into| h.else |
|00002f80| 70 75 74 20 22 4e 6f 22 | 26 26 75 73 65 72 63 6f |put "No"|&&userco|
|00002f90| 6c 6f 72 26 26 22 68 69 | 67 68 6c 69 67 68 74 73 |lor&&"hi|ghlights|
|00002fa0| 20 61 6e 79 77 68 65 72 | 65 2e 22 20 69 6e 74 6f | anywher|e." into|
|00002fb0| 20 68 0d 65 6c 73 65 0d | 70 75 74 20 66 6c 64 20 | h.else.|put fld |
|00002fc0| 63 6f 6c 6f 72 74 69 74 | 6c 65 20 69 6e 74 6f 20 |colortit|le into |
|00002fd0| 68 0d 65 6e 64 20 69 66 | 0d 77 61 69 74 20 31 30 |h.end if|.wait 10|
|00002fe0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|00002ff0| 20 75 70 20 61 6e 64 20 | 74 68 65 20 73 65 6c 65 | up and |the sele|
|00003000| 63 74 65 64 63 68 75 6e | 6b 3c 3e 22 22 0d 74 68 |ctedchun|k<>"".th|
|00003010| 65 6e 0d 70 75 74 20 74 | 68 65 20 73 65 6c 65 63 |en.put t|he selec|
|00003020| 74 65 64 63 68 75 6e 6b | 20 69 6e 74 6f 20 73 65 |tedchunk| into se|
|00003030| 6c 65 63 74 65 64 73 74 | 75 66 66 0d 69 66 20 75 |lectedst|uff.if u|
|00003040| 73 65 72 63 6f 6c 6f 72 | 20 69 73 20 69 6e 20 22 |sercolor| is in "|
|00003050| 6f 72 61 6e 67 65 79 65 | 6c 6c 6f 77 67 72 65 65 |orangeye|llowgree|
|00003060| 6e 62 6c 75 65 22 0d 74 | 68 65 6e 20 63 6f 6c 6f |nblue".t|hen colo|
|00003070| 72 74 65 78 74 20 75 73 | 65 72 63 6f 6c 6f 72 0d |rtext us|ercolor.|
|00003080| 65 6c 73 65 20 65 78 69 | 74 20 66 69 6e 64 63 6f |else exi|t findco|
|00003090| 6c 6f 72 73 0d 65 6c 73 | 65 0d 67 65 74 20 70 6f |lors.els|e.get po|
|000030a0| 70 69 74 75 70 28 68 2c | 30 2c 74 68 65 20 6d 6f |pitup(h,|0,the mo|
|000030b0| 75 73 65 68 2c 74 68 65 | 20 6d 6f 75 73 65 76 29 |useh,the| mousev)|
|000030c0| 0d 69 66 20 69 74 65 6d | 20 31 20 6f 66 20 69 74 |.if item| 1 of it|
|000030d0| 20 3d 20 30 20 74 68 65 | 6e 20 65 78 69 74 20 66 | = 0 the|n exit f|
|000030e0| 69 6e 64 63 6f 6c 6f 72 | 73 0d 69 66 20 6c 69 6e |indcolor|s.if lin|
|000030f0| 65 28 69 74 65 6d 20 31 | 20 6f 66 20 69 74 29 20 |e(item 1| of it) |
|00003100| 6f 66 20 68 20 69 73 20 | 61 20 6e 75 6d 62 65 72 |of h is |a number|
|00003110| 0d 74 68 65 6e 0d 67 6f | 70 61 67 65 20 6c 69 6e |.then.go|page lin|
|00003120| 65 28 69 74 65 6d 20 31 | 20 6f 66 20 69 74 29 20 |e(item 1| of it) |
|00003130| 6f 66 20 68 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |of h.end| if.end |
|00003140| 69 66 0d 65 6e 64 20 66 | 69 6e 64 63 6f 6c 6f 72 |if.end f|indcolor|
|00003150| 73 0d 6f 6e 20 63 6f 6c | 6f 72 74 65 78 74 20 75 |s.on col|ortext u|
|00003160| 73 65 72 63 6f 6c 6f 72 | 0d 67 6c 6f 62 61 6c 20 |sercolor|.global |
|00003170| 73 65 6c 65 63 74 65 64 | 73 74 75 66 66 2c 73 65 |selected|stuff,se|
|00003180| 6c 65 63 74 65 64 66 2c | 74 63 74 2c 70 6c 69 73 |lectedf,|tct,plis|
|00003190| 74 0d 6c 73 0d 69 66 20 | 75 73 65 72 63 6f 6c 6f |t.ls.if |usercolo|
|000031a0| 72 20 3c 3e 20 22 77 68 | 69 74 65 22 0d 74 68 65 |r <> "wh|ite".the|
|000031b0| 6e 0d 70 75 74 20 75 73 | 65 72 63 6f 6c 6f 72 26 |n.put us|ercolor&|
|000031c0| 22 70 6c 61 63 65 73 22 | 20 69 6e 74 6f 20 63 6f |"places"| into co|
|000031d0| 6c 6f 72 74 69 74 6c 65 | 0d 69 66 20 66 6c 64 20 |lortitle|.if fld |
|000031e0| 63 6f 6c 6f 72 74 69 74 | 6c 65 20 6f 66 20 63 64 |colortit|le of cd|
|000031f0| 20 74 63 74 2b 31 20 3d | 20 22 22 0d 74 68 65 6e | tct+1 =| "".then|
|00003200| 0d 69 66 20 75 73 65 72 | 63 6f 6c 6f 72 20 3d 20 |.if user|color = |
|00003210| 22 61 6c 6c 22 0d 74 68 | 65 6e 20 70 75 74 20 22 |"all".th|en put "|
|00003220| 4e 6f 20 63 6f 6c 6f 72 | 20 68 69 67 68 6c 69 67 |No color| highlig|
|00003230| 68 74 73 20 61 6e 79 77 | 68 65 72 65 2e 22 20 69 |hts anyw|here." i|
|00003240| 6e 74 6f 20 68 0d 65 6c | 73 65 20 70 75 74 20 22 |nto h.el|se put "|
|00003250| 4e 6f 22 26 26 75 73 65 | 72 63 6f 6c 6f 72 26 26 |No"&&use|rcolor&&|
|00003260| 22 68 69 67 68 6c 69 67 | 68 74 73 20 61 6e 79 77 |"highlig|hts anyw|
|00003270| 68 65 72 65 2e 22 20 69 | 6e 74 6f 20 68 0d 65 6c |here." i|nto h.el|
|00003280| 73 65 0d 70 75 74 20 66 | 6c 64 20 63 6f 6c 6f 72 |se.put f|ld color|
|00003290| 74 69 74 6c 65 20 6f 66 | 20 63 64 20 74 63 74 2b |title of| cd tct+|
|000032a0| 31 20 69 6e 74 6f 20 68 | 0d 65 6e 64 20 69 66 0d |1 into h|.end if.|
|000032b0| 77 61 69 74 20 31 30 0d | 69 66 20 74 68 65 20 6d |wait 10.|if the m|
|000032c0| 6f 75 73 65 20 69 73 20 | 64 6f 77 6e 0d 74 68 65 |ouse is |down.the|
|000032d0| 6e 0d 70 75 74 20 63 6f | 6c 6f 72 74 6f 6e 61 6d |n.put co|lortonam|
|000032e0| 65 28 75 73 65 72 63 6f | 6c 6f 72 29 26 72 65 74 |e(userco|lor)&ret|
|000032f0| 75 72 6e 26 22 2d 22 26 | 72 65 74 75 72 6e 26 68 |urn&"-"&|return&h|
|00003300| 26 72 65 74 75 72 6e 26 | 22 2d 22 26 72 65 74 75 |&return&|"-"&retu|
|00003310| 72 6e 26 22 43 68 61 6e | 67 65 20 63 6f 6c 6f 72 |rn&"Chan|ge color|
|00003320| 20 6e 61 6d 65 c9 22 20 | 69 6e 74 6f 20 68 6f 6c | name." |into hol|
|00003330| 64 65 72 0d 67 65 74 20 | 70 6f 70 69 74 75 70 28 |der.get |popitup(|
|00003340| 68 6f 6c 64 65 72 2c 30 | 2c 74 68 65 20 6d 6f 75 |holder,0|,the mou|
|00003350| 73 65 68 2c 74 68 65 20 | 6d 6f 75 73 65 76 29 0d |seh,the |mousev).|
|00003360| 69 66 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 20 |if item |1 of it |
|00003370| 3d 20 30 20 74 68 65 6e | 20 65 78 69 74 20 63 6f |= 0 then| exit co|
|00003380| 6c 6f 72 74 65 78 74 0d | 67 65 74 20 6c 69 6e 65 |lortext.|get line|
|00003390| 28 69 74 65 6d 20 31 20 | 6f 66 20 69 74 29 20 6f |(item 1 |of it) o|
|000033a0| 66 20 68 6f 6c 64 65 72 | 0d 69 66 20 69 74 20 69 |f holder|.if it i|
|000033b0| 73 20 61 20 6e 75 6d 62 | 65 72 0d 74 68 65 6e 0d |s a numb|er.then.|
|000033c0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|000033d0| 74 63 68 0d 67 6f 70 61 | 67 65 20 69 74 0d 72 65 |tch.gopa|ge it.re|
|000033e0| 73 65 74 63 6f 6c 6f 72 | 73 0d 65 78 69 74 20 63 |setcolor|s.exit c|
|000033f0| 6f 6c 6f 72 74 65 78 74 | 0d 65 6c 73 65 0d 69 66 |olortext|.else.if|
|00003400| 20 69 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 43 68 | it cont|ains "Ch|
|00003410| 61 6e 67 65 22 0d 74 68 | 65 6e 20 63 68 61 6e 67 |ange".th|en chang|
|00003420| 65 63 6f 6c 6f 72 6e 61 | 6d 65 20 75 73 65 72 63 |ecolorna|me userc|
|00003430| 6f 6c 6f 72 0d 72 65 73 | 65 74 63 6f 6c 6f 72 73 |olor.res|etcolors|
|00003440| 0d 65 78 69 74 20 63 6f | 6c 6f 72 74 65 78 74 0d |.exit co|lortext.|
|00003450| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6c |end if.e|nd if.el|
|00003460| 73 65 0d 69 66 20 74 68 | 65 20 73 65 6c 65 63 74 |se.if th|e select|
|00003470| 65 64 63 68 75 6e 6b 20 | 3d 20 22 22 20 61 6e 64 |edchunk |= "" and|
|00003480| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 6c 64 20 | there i|s a fld |
|00003490| 22 63 6f 6c 6f 72 65 64 | 6c 69 6e 65 73 22 0d 74 |"colored|lines".t|
|000034a0| 68 65 6e 0d 69 66 20 66 | 6c 64 20 22 63 6f 6c 6f |hen.if f|ld "colo|
|000034b0| 72 65 64 6c 69 6e 65 73 | 22 20 3d 20 22 22 0d 74 |redlines|" = "".t|
|000034c0| 68 65 6e 20 61 6e 73 77 | 65 72 20 22 54 68 65 72 |hen answ|er "Ther|
|000034d0| 65 20 61 72 65 20 6e 6f | 20 68 69 67 68 6c 69 67 |e are no| highlig|
|000034e0| 68 74 73 20 6f 6e 20 74 | 68 69 73 20 70 61 67 65 |hts on t|his page|
|000034f0| 2e 22 0d 65 6c 73 65 20 | 61 6e 73 77 65 72 20 22 |.".else |answer "|
|00003500| 43 6c 65 61 72 20 63 6f | 6c 6f 72 65 64 20 68 69 |Clear co|lored hi|
|00003510| 67 68 6c 69 67 68 74 73 | 20 66 72 6f 6d 20 63 6f |ghlights| from co|
|00003520| 6d 70 6c 65 74 65 20 70 | 61 67 65 3f 22 20 77 69 |mplete p|age?" wi|
|00003530| 74 68 20 22 59 65 73 22 | 20 6f 72 20 22 4e 6f 22 |th "Yes"| or "No"|
|00003540| 0d 69 66 20 69 74 20 3d | 20 22 79 65 73 22 0d 74 |.if it =| "yes".t|
|00003550| 68 65 6e 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |hen.put |"" into |
|00003560| 66 6c 64 20 22 63 6f 6c | 6f 72 65 64 6c 69 6e 65 |fld "col|oredline|
|00003570| 73 22 0d 70 75 74 20 22 | 7a 7a 7a 7a 7a 7a 22 20 |s".put "|zzzzzz" |
|00003580| 69 6e 74 6f 20 70 6c 69 | 73 74 0d 73 65 6e 64 20 |into pli|st.send |
|00003590| 75 70 64 61 74 65 63 6f | 6c 6f 72 73 20 74 6f 20 |updateco|lors to |
|000035a0| 74 68 69 73 20 63 61 72 | 64 0d 73 65 6e 64 20 6f |this car|d.send o|
|000035b0| 63 73 74 75 66 66 20 74 | 6f 20 74 68 69 73 20 63 |cstuff t|o this c|
|000035c0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ard.end |if.end i|
|000035d0| 66 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 72 |f.end if|.if ther|
|000035e0| 65 20 69 73 20 6e 6f 74 | 20 61 20 66 6c 64 20 22 |e is not| a fld "|
|000035f0| 63 6f 6c 6f 72 65 64 6c | 69 6e 65 73 22 20 74 68 |coloredl|ines" th|
|00003600| 65 6e 20 65 78 69 74 20 | 63 6f 6c 6f 72 74 65 78 |en exit |colortex|
|00003610| 74 0d 69 66 20 75 73 65 | 72 63 6f 6c 6f 72 20 3d |t.if use|rcolor =|
|00003620| 20 6f 72 61 6e 67 65 20 | 74 68 65 6e 20 70 75 74 | orange |then put|
|00003630| 20 22 36 35 35 33 35 2c | 32 36 31 31 32 2c 30 22 | "65535,|26112,0"|
|00003640| 20 69 6e 74 6f 20 75 73 | 65 72 63 6f 6c 6f 72 0d | into us|ercolor.|
|00003650| 69 66 20 75 73 65 72 63 | 6f 6c 6f 72 20 3d 20 79 |if userc|olor = y|
|00003660| 65 6c 6c 6f 77 20 74 68 | 65 6e 20 70 75 74 20 22 |ellow th|en put "|
|00003670| 36 35 35 33 35 2c 36 35 | 35 33 35 2c 30 22 20 69 |65535,65|535,0" i|
|00003680| 6e 74 6f 20 75 73 65 72 | 63 6f 6c 6f 72 0d 69 66 |nto user|color.if|
|00003690| 20 75 73 65 72 63 6f 6c | 6f 72 20 3d 20 67 72 65 | usercol|or = gre|
|000036a0| 65 6e 20 74 68 65 6e 20 | 70 75 74 20 22 32 36 31 |en then |put "261|
|000036b0| 31 32 2c 36 35 35 33 35 | 2c 30 22 20 69 6e 74 6f |12,65535|,0" into|
|000036c0| 20 75 73 65 72 63 6f 6c | 6f 72 0d 69 66 20 75 73 | usercol|or.if us|
|000036d0| 65 72 63 6f 6c 6f 72 20 | 3d 20 62 6c 75 65 20 74 |ercolor |= blue t|
|000036e0| 68 65 6e 20 70 75 74 20 | 22 32 36 36 32 34 2c 35 |hen put |"26624,5|
|000036f0| 32 32 32 34 2c 36 35 35 | 33 35 22 20 69 6e 74 6f |2224,655|35" into|
|00003700| 20 75 73 65 72 63 6f 6c | 6f 72 0d 69 66 20 75 73 | usercol|or.if us|
|00003710| 65 72 63 6f 6c 6f 72 20 | 3d 20 77 68 69 74 65 20 |ercolor |= white |
|00003720| 74 68 65 6e 20 70 75 74 | 20 22 36 35 35 33 35 2c |then put| "65535,|
|00003730| 36 35 35 33 35 2c 36 35 | 35 33 35 22 20 69 6e 74 |65535,65|535" int|
|00003740| 6f 20 75 73 65 72 63 6f | 6c 6f 72 0d 6c 73 0d 73 |o userco|lor.ls.s|
|00003750| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00003760| 63 68 0d 70 75 74 20 74 | 68 65 20 73 65 6c 65 63 |ch.put t|he selec|
|00003770| 74 65 64 63 68 75 6e 6b | 20 69 6e 74 6f 20 74 68 |tedchunk| into th|
|00003780| 69 73 73 65 6c 65 63 74 | 69 6f 6e 0d 70 75 74 20 |isselect|ion.put |
|00003790| 74 68 65 20 73 65 6c 65 | 63 74 65 64 63 68 75 6e |the sele|ctedchun|
|000037a0| 6b 20 69 6e 74 6f 20 73 | 65 6c 65 63 74 65 64 73 |k into s|electeds|
|000037b0| 74 75 66 66 0d 69 66 20 | 73 65 6c 65 63 74 65 64 |tuff.if |selected|
|000037c0| 73 74 75 66 66 20 3d 20 | 22 22 20 74 68 65 6e 20 |stuff = |"" then |
|000037d0| 65 78 69 74 20 63 6f 6c | 6f 72 74 65 78 74 0d 73 |exit col|ortext.s|
|000037e0| 65 6c 65 63 74 20 62 65 | 66 6f 72 65 20 73 65 6c |elect be|fore sel|
|000037f0| 65 63 74 65 64 73 74 75 | 66 66 0d 70 75 74 20 77 |ectedstu|ff.put w|
|00003800| 6f 72 64 20 36 20 74 6f | 20 38 20 6f 66 20 73 65 |ord 6 to| 8 of se|
|00003810| 6c 65 63 74 65 64 73 74 | 75 66 66 20 69 6e 74 6f |lectedst|uff into|
|00003820| 20 73 65 6c 65 63 74 65 | 64 66 0d 70 75 74 20 74 | selecte|df.put t|
|00003830| 68 65 20 73 65 6c 65 63 | 74 65 64 6c 6f 63 20 69 |he selec|tedloc i|
|00003840| 6e 74 6f 20 63 0d 73 65 | 6c 65 63 74 20 61 66 74 |nto c.se|lect aft|
|00003850| 65 72 20 73 65 6c 65 63 | 74 65 64 73 74 75 66 66 |er selec|tedstuff|
|00003860| 0d 70 75 74 20 22 2c 22 | 20 26 20 74 68 65 20 73 |.put ","| & the s|
|00003870| 65 6c 65 63 74 65 64 6c | 6f 63 20 61 66 74 65 72 |electedl|oc after|
|00003880| 20 63 0d 70 75 74 20 74 | 65 78 74 68 65 69 67 68 | c.put t|extheigh|
|00003890| 74 20 6f 66 20 73 65 6c | 65 63 74 65 64 66 20 69 |t of sel|ectedf i|
|000038a0| 6e 74 6f 20 74 68 0d 70 | 75 74 20 63 20 69 6e 74 |nto th.p|ut c int|
|000038b0| 6f 20 64 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |o d.put |item 2 o|
|000038c0| 66 20 63 20 69 6e 74 6f | 20 69 74 65 6d 20 34 20 |f c into| item 4 |
|000038d0| 6f 66 20 64 0d 73 75 62 | 74 72 61 63 74 20 74 68 |of d.sub|tract th|
|000038e0| 20 66 72 6f 6d 20 69 74 | 65 6d 20 32 20 6f 66 20 | from it|em 2 of |
|000038f0| 63 0d 73 75 62 74 72 61 | 63 74 20 74 68 20 66 72 |c.subtra|ct th fr|
|00003900| 6f 6d 20 69 74 65 6d 20 | 32 20 6f 66 20 64 0d 70 |om item |2 of d.p|
|00003910| 75 74 20 72 6f 75 6e 64 | 28 28 69 74 65 6d 20 34 |ut round|((item 4|
|00003920| 20 6f 66 20 63 20 2d 20 | 69 74 65 6d 20 32 20 6f | of c - |item 2 o|
|00003930| 66 20 63 29 2f 74 68 29 | 20 69 6e 74 6f 20 79 0d |f c)/th)| into y.|
|00003940| 69 66 20 79 20 3e 20 31 | 20 74 68 65 6e 20 70 75 |if y > 1| then pu|
|00003950| 74 20 72 69 67 68 74 20 | 6f 66 20 73 65 6c 65 63 |t right |of selec|
|00003960| 74 65 64 66 2d 34 20 69 | 6e 74 6f 20 69 74 65 6d |tedf-4 i|nto item|
|00003970| 20 33 20 6f 66 20 64 0d | 69 66 20 69 74 65 6d 20 | 3 of d.|if item |
|00003980| 33 20 6f 66 20 64 20 2d | 20 69 74 65 6d 20 31 20 |3 of d -| item 1 |
|00003990| 6f 66 20 64 20 3e 20 30 | 20 74 68 65 6e 20 63 6f |of d > 0| then co|
|000039a0| 6c 6f 72 74 68 69 73 6c | 69 6e 65 20 75 73 65 72 |lorthisl|ine user|
|000039b0| 63 6f 6c 6f 72 2c 64 2c | 74 68 69 73 73 65 6c 65 |color,d,|thissele|
|000039c0| 63 74 69 6f 6e 0d 70 75 | 74 20 6c 65 66 74 20 6f |ction.pu|t left o|
|000039d0| 66 20 73 65 6c 65 63 74 | 65 64 66 2b 34 26 22 2c |f select|edf+4&",|
|000039e0| 22 26 69 74 65 6d 20 32 | 20 6f 66 20 63 26 22 2c |"&item 2| of c&",|
|000039f0| 22 26 72 69 67 68 74 20 | 6f 66 20 73 65 6c 65 63 |"&right |of selec|
|00003a00| 74 65 64 66 2d 34 26 22 | 2c 22 26 69 74 65 6d 20 |tedf-4&"|,"&item |
|00003a10| 32 20 6f 66 20 63 20 2b | 20 74 68 20 69 6e 74 6f |2 of c +| th into|
|00003a20| 20 64 0d 72 65 70 65 61 | 74 20 79 2d 32 20 74 69 | d.repea|t y-2 ti|
|00003a30| 6d 65 73 0d 61 64 64 20 | 74 68 20 74 6f 20 69 74 |mes.add |th to it|
|00003a40| 65 6d 20 32 20 6f 66 20 | 64 0d 61 64 64 20 74 68 |em 2 of |d.add th|
|00003a50| 20 74 6f 20 69 74 65 6d | 20 34 20 6f 66 20 64 0d | to item| 4 of d.|
|00003a60| 63 6f 6c 6f 72 74 68 69 | 73 6c 69 6e 65 20 75 73 |colorthi|sline us|
|00003a70| 65 72 63 6f 6c 6f 72 2c | 64 2c 74 68 69 73 73 65 |ercolor,|d,thisse|
|00003a80| 6c 65 63 74 69 6f 6e 0d | 65 6e 64 20 72 65 70 65 |lection.|end repe|
|00003a90| 61 74 0d 69 66 20 79 20 | 3e 20 31 0d 74 68 65 6e |at.if y |> 1.then|
|00003aa0| 0d 70 75 74 20 63 20 69 | 6e 74 6f 20 64 0d 70 75 |.put c i|nto d.pu|
|00003ab0| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 64 20 2d 20 |t item 4| of d - |
|00003ac0| 74 68 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |th into |item 2 o|
|00003ad0| 66 20 64 0d 69 66 20 79 | 20 3e 20 31 20 74 68 65 |f d.if y| > 1 the|
|00003ae0| 6e 20 70 75 74 20 6c 65 | 66 74 20 6f 66 20 73 65 |n put le|ft of se|
|00003af0| 6c 65 63 74 65 64 66 2b | 34 20 69 6e 74 6f 20 69 |lectedf+|4 into i|
|00003b00| 74 65 6d 20 31 20 6f 66 | 20 64 0d 69 66 20 69 74 |tem 1 of| d.if it|
|00003b10| 65 6d 20 33 20 6f 66 20 | 64 20 2d 20 69 74 65 6d |em 3 of |d - item|
|00003b20| 20 31 20 6f 66 20 64 20 | 3e 20 30 20 74 68 65 6e | 1 of d |> 0 then|
|00003b30| 20 63 6f 6c 6f 72 74 68 | 69 73 6c 69 6e 65 20 75 | colorth|isline u|
|00003b40| 73 65 72 63 6f 6c 6f 72 | 2c 64 2c 74 68 69 73 73 |sercolor|,d,thiss|
|00003b50| 65 6c 65 63 74 69 6f 6e | 0d 65 6e 64 20 69 66 0d |election|.end if.|
|00003b60| 73 65 6e 64 20 75 70 64 | 61 74 65 63 6f 6c 6f 72 |send upd|atecolor|
|00003b70| 73 20 74 6f 20 74 68 69 | 73 20 63 61 72 64 0d 73 |s to thi|s card.s|
|00003b80| 65 6e 64 20 6f 63 73 74 | 75 66 66 20 74 6f 20 74 |end ocst|uff to t|
|00003b90| 68 69 73 20 63 61 72 64 | 0d 72 65 73 65 74 63 6f |his card|.resetco|
|00003ba0| 6c 6f 72 73 0d 75 73 66 | 0d 65 6e 64 20 63 6f 6c |lors.usf|.end col|
|00003bb0| 6f 72 74 65 78 74 0d 6f | 6e 20 72 65 73 65 74 63 |ortext.o|n resetc|
|00003bc0| 6f 6c 6f 72 73 0d 73 65 | 74 20 74 68 65 20 4f 72 |olors.se|t the Or|
|00003bd0| 61 6e 67 65 5f 49 53 54 | 52 41 4e 53 50 41 52 45 |ange_IST|RANSPARE|
|00003be0| 4e 54 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 4d 61 |NT of wi|ndow "Ma|
|00003bf0| 70 22 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 74 |p" to tr|ue.set t|
|00003c00| 68 65 20 79 65 6c 6c 6f | 77 5f 49 53 54 52 41 4e |he yello|w_ISTRAN|
|00003c10| 53 50 41 52 45 4e 54 20 | 6f 66 20 77 69 6e 64 6f |SPARENT |of windo|
|00003c20| 77 20 22 4d 61 70 22 20 | 74 6f 20 74 72 75 65 0d |w "Map" |to true.|
|00003c30| 73 65 74 20 74 68 65 20 | 62 6c 75 65 5f 49 53 54 |set the |blue_IST|
|00003c40| 52 41 4e 53 50 41 52 45 | 4e 54 20 6f 66 20 77 69 |RANSPARE|NT of wi|
|00003c50| 6e 64 6f 77 20 22 4d 61 | 70 22 20 74 6f 20 74 72 |ndow "Ma|p" to tr|
|00003c60| 75 65 0d 73 65 74 20 74 | 68 65 20 67 72 65 65 6e |ue.set t|he green|
|00003c70| 5f 49 53 54 52 41 4e 53 | 50 41 52 45 4e 54 20 6f |_ISTRANS|PARENT o|
|00003c80| 66 20 77 69 6e 64 6f 77 | 20 22 4d 61 70 22 20 74 |f window| "Map" t|
|00003c90| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 6c |o true.s|et the l|
|00003ca0| 6f 63 6b 73 63 72 65 65 | 6e 20 6f 66 20 77 69 6e |ockscree|n of win|
|00003cb0| 64 6f 77 20 22 6d 61 70 | 22 20 74 6f 20 66 61 6c |dow "map|" to fal|
|00003cc0| 73 65 0d 73 65 6e 64 20 | 72 65 64 72 61 77 77 69 |se.send |redrawwi|
|00003cd0| 6e 64 6f 77 20 74 6f 20 | 77 69 6e 64 6f 77 20 22 |ndow to |window "|
|00003ce0| 4d 61 70 22 0d 65 6e 64 | 20 72 65 73 65 74 63 6f |Map".end| resetco|
|00003cf0| 6c 6f 72 73 0d 6f 6e 20 | 63 6f 6c 6f 72 74 68 69 |lors.on |colorthi|
|00003d00| 73 6c 69 6e 65 20 75 73 | 65 72 63 6f 6c 6f 72 2c |sline us|ercolor,|
|00003d10| 63 2c 74 68 69 73 73 65 | 6c 65 63 74 69 6f 6e 0d |c,thisse|lection.|
|00003d20| 69 66 20 75 73 65 72 63 | 6f 6c 6f 72 20 3c 3e 20 |if userc|olor <> |
|00003d30| 22 36 35 35 33 35 2c 36 | 35 35 33 35 2c 36 35 35 |"65535,6|5535,655|
|00003d40| 33 35 22 20 74 68 65 6e | 20 61 64 64 63 6f 6c 6f |35" then| addcolo|
|00003d50| 72 20 63 6f 6c 6f 72 72 | 65 63 74 2c 63 64 2c 63 |r colorr|ect,cd,c|
|00003d60| 2c 75 73 65 72 63 6f 6c | 6f 72 0d 67 65 74 20 63 |,usercol|or.get c|
|00003d70| 26 22 a6 22 26 75 73 65 | 72 63 6f 6c 6f 72 26 22 |&"."&use|rcolor&"|
|00003d80| a6 22 26 74 68 69 73 73 | 65 6c 65 63 74 69 6f 6e |."&thiss|election|
|00003d90| 0d 70 75 74 20 74 68 65 | 20 69 74 65 6d 64 65 6c |.put the| itemdel|
|00003da0| 69 6d 69 74 65 72 20 69 | 6e 74 6f 20 69 64 0d 73 |imiter i|nto id.s|
|00003db0| 65 74 20 74 68 65 20 69 | 74 65 6d 64 65 6c 69 6d |et the i|temdelim|
|00003dc0| 69 74 65 72 20 74 6f 20 | 22 a6 22 0d 72 65 70 65 |iter to |".".repe|
|00003dd0| 61 74 20 77 69 74 68 20 | 61 20 3d 20 74 68 65 20 |at with |a = the |
|00003de0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00003df0| 69 6e 20 66 6c 64 20 22 | 63 6f 6c 6f 72 65 64 6c |in fld "|coloredl|
|00003e00| 69 6e 65 73 22 20 64 6f | 77 6e 20 74 6f 20 31 0d |ines" do|wn to 1.|
|00003e10| 69 66 20 63 20 3d 20 69 | 74 65 6d 20 31 20 6f 66 |if c = i|tem 1 of|
|00003e20| 20 6c 69 6e 65 20 61 20 | 6f 66 20 66 6c 64 20 22 | line a |of fld "|
|00003e30| 63 6f 6c 6f 72 65 64 6c | 69 6e 65 73 22 20 61 6e |coloredl|ines" an|
|00003e40| 64 20 74 68 69 73 73 65 | 6c 65 63 74 69 6f 6e 20 |d thisse|lection |
|00003e50| 3d 20 69 74 65 6d 20 33 | 20 6f 66 20 6c 69 6e 65 |= item 3| of line|
|00003e60| 20 61 20 6f 66 20 66 6c | 64 20 22 63 6f 6c 6f 72 | a of fl|d "color|
|00003e70| 65 64 6c 69 6e 65 73 22 | 0d 74 68 65 6e 0d 69 66 |edlines"|.then.if|
|00003e80| 20 75 73 65 72 63 6f 6c | 6f 72 20 3d 20 22 36 35 | usercol|or = "65|
|00003e90| 35 33 35 2c 36 35 35 33 | 35 2c 36 35 35 33 35 22 |535,6553|5,65535"|
|00003ea0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6c 69 6e | then de|lete lin|
|00003eb0| 65 20 61 20 6f 66 20 66 | 6c 64 20 22 63 6f 6c 6f |e a of f|ld "colo|
|00003ec0| 72 65 64 6c 69 6e 65 73 | 22 0d 65 6c 73 65 20 70 |redlines|".else p|
|00003ed0| 75 74 20 69 74 20 69 6e | 74 6f 20 6c 69 6e 65 20 |ut it in|to line |
|00003ee0| 61 20 6f 66 20 66 6c 64 | 20 22 63 6f 6c 6f 72 65 |a of fld| "colore|
|00003ef0| 64 6c 69 6e 65 73 22 0d | 70 75 74 20 74 72 75 65 |dlines".|put true|
|00003f00| 20 69 6e 74 6f 20 64 6f | 6e 65 69 74 0d 65 6e 64 | into do|neit.end|
|00003f10| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 | if.end |repeat.i|
|00003f20| 66 20 75 73 65 72 63 6f | 6c 6f 72 20 3c 3e 20 22 |f userco|lor <> "|
|00003f30| 36 35 35 33 35 2c 36 35 | 35 33 35 2c 36 35 35 33 |65535,65|535,6553|
|00003f40| 35 22 20 74 68 65 6e 20 | 69 66 20 64 6f 6e 65 69 |5" then |if donei|
|00003f50| 74 3c 3e 74 72 75 65 20 | 74 68 65 6e 20 70 75 74 |t<>true |then put|
|00003f60| 20 69 74 20 69 6e 74 6f | 20 6c 69 6e 65 28 74 68 | it into| line(th|
|00003f70| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00003f80| 73 20 69 6e 20 66 6c 64 | 20 22 63 6f 6c 6f 72 65 |s in fld| "colore|
|00003f90| 64 6c 69 6e 65 73 22 20 | 2b 31 29 20 6f 66 20 66 |dlines" |+1) of f|
|00003fa0| 6c 64 20 22 63 6f 6c 6f | 72 65 64 6c 69 6e 65 73 |ld "colo|redlines|
|00003fb0| 22 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 64 65 |".set th|e itemde|
|00003fc0| 6c 69 6d 69 74 65 72 20 | 74 6f 20 69 64 0d 65 6e |limiter |to id.en|
|00003fd0| 64 20 63 6f 6c 6f 72 74 | 68 69 73 6c 69 6e 65 0d |d colort|hisline.|
|00003fe0| 6f 6e 20 63 6f 6c 6f 72 | 6c 69 6e 65 73 0d 67 6c |on color|lines.gl|
|00003ff0| 6f 62 61 6c 20 75 73 65 | 72 63 6f 6c 6f 72 0d 69 |obal use|rcolor.i|
|00004000| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|00004010| 20 66 6c 64 20 22 73 74 | 79 6c 65 64 22 20 74 68 | fld "st|yled" th|
|00004020| 65 6e 20 65 78 69 74 20 | 63 6f 6c 6f 72 6c 69 6e |en exit |colorlin|
|00004030| 65 73 0d 6c 73 0d 70 75 | 74 20 74 68 65 20 69 74 |es.ls.pu|t the it|
|00004040| 65 6d 64 65 6c 69 6d 69 | 74 65 72 20 69 6e 74 6f |emdelimi|ter into|
|00004050| 20 69 64 0d 73 65 74 20 | 74 68 65 20 69 74 65 6d | id.set |the item|
|00004060| 64 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 22 a6 22 |delimite|r to "."|
|00004070| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00004080| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 66 6c 64 20 |of lines| in fld |
|00004090| 22 63 6f 6c 6f 72 65 64 | 6c 69 6e 65 73 22 20 69 |"colored|lines" i|
|000040a0| 6e 74 6f 20 6c 0d 72 65 | 70 65 61 74 20 77 69 74 |nto l.re|peat wit|
|000040b0| 68 20 61 20 3d 20 31 20 | 74 6f 20 6c 0d 67 65 74 |h a = 1 |to l.get|
|000040c0| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|000040d0| 61 20 6f 66 20 66 6c 64 | 20 22 63 6f 6c 6f 72 65 |a of fld| "colore|
|000040e0| 64 6c 69 6e 65 73 22 0d | 61 64 64 63 6f 6c 6f 72 |dlines".|addcolor|
|000040f0| 20 63 6f 6c 6f 72 72 65 | 63 74 2c 63 64 2c 69 74 | colorre|ct,cd,it|
|00004100| 2c 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 |,item 2 |of line |
|00004110| 61 20 6f 66 20 66 6c 64 | 20 22 63 6f 6c 6f 72 65 |a of fld| "colore|
|00004120| 64 6c 69 6e 65 73 22 0d | 65 6e 64 20 72 65 70 65 |dlines".|end repe|
|00004130| 61 74 0d 73 65 74 20 74 | 68 65 20 69 74 65 6d 64 |at.set t|he itemd|
|00004140| 65 6c 69 6d 69 74 65 72 | 20 74 6f 20 69 64 0d 75 |elimiter| to id.u|
|00004150| 73 0d 65 6e 64 20 63 6f | 6c 6f 72 6c 69 6e 65 73 |s.end co|lorlines|
|00004160| 0d 6f 6e 20 70 6f 73 69 | 74 69 6f 6e 6d 61 70 20 |.on posi|tionmap |
|00004170| 63 6f 6c 32 74 2c 63 6f | 6c 33 74 0d 67 6c 6f 62 |col2t,co|l3t.glob|
|00004180| 61 6c 20 63 6f 6c 32 63 | 68 6f 69 63 65 2c 63 6f |al col2c|hoice,co|
|00004190| 6c 33 63 68 6f 69 63 65 | 0d 70 75 74 20 74 68 65 |l3choice|.put the|
|000041a0| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 69 | itemdel|imiter i|
|000041b0| 6e 74 6f 20 69 64 0d 70 | 75 74 20 22 4d 61 70 22 |nto id.p|ut "Map"|
|000041c0| 20 69 6e 74 6f 20 77 6e | 0d 69 66 20 74 68 65 72 | into wn|.if ther|
|000041d0| 65 20 69 73 20 6e 6f 74 | 20 61 20 77 69 6e 64 6f |e is not| a windo|
|000041e0| 77 20 77 6e 20 74 68 65 | 6e 20 65 78 69 74 20 70 |w wn the|n exit p|
|000041f0| 6f 73 69 74 69 6f 6e 6d | 61 70 0d 73 65 74 20 74 |ositionm|ap.set t|
|00004200| 68 65 20 6c 6f 63 6b 73 | 63 72 65 65 6e 20 6f 66 |he locks|creen of|
|00004210| 20 77 69 6e 64 6f 77 20 | 77 6e 20 74 6f 20 74 72 | window |wn to tr|
|00004220| 75 65 0d 67 65 74 20 74 | 68 65 20 72 65 63 74 20 |ue.get t|he rect |
|00004230| 6f 66 20 77 69 6e 64 6f | 77 20 77 6e 0d 69 66 20 |of windo|w wn.if |
|00004240| 69 74 65 6d 20 33 20 6f | 66 20 69 74 20 2d 20 69 |item 3 o|f it - i|
|00004250| 74 65 6d 20 31 20 6f 66 | 20 69 74 20 3c 20 31 30 |tem 1 of| it < 10|
|00004260| 30 20 61 6e 64 20 63 6f | 6c 32 74 20 3c 3e 74 72 |0 and co|l2t <>tr|
|00004270| 75 65 20 74 68 65 6e 20 | 65 78 69 74 20 70 6f 73 |ue then |exit pos|
|00004280| 69 74 69 6f 6e 6d 61 70 | 0d 70 75 74 20 77 61 69 |itionmap|.put wai|
|00004290| 28 29 20 69 6e 74 6f 20 | 63 0d 67 65 74 20 22 61 |() into |c.get "a|
|000042a0| 2c 31 2c 32 2c 33 2c 34 | 2c 34 2c 34 2c 62 2c 35 |,1,2,3,4|,4,4,b,5|
|000042b0| 2c 35 2c 35 2c 35 2c 35 | 2c 35 2c 35 2c 35 2c 35 |,5,5,5,5|,5,5,5,5|
|000042c0| 2c 35 2c 22 c2 0d 26 22 | 36 2c 36 2c 36 2c 36 2c |,5,"..&"|6,6,6,6,|
|000042d0| 36 2c 36 2c 36 2c 36 2c | 36 2c 36 2c 36 2c 36 2c |6,6,6,6,|6,6,6,6,|
|000042e0| 36 2c 36 2c 36 2c 36 2c | 36 2c 36 2c 36 2c 37 2c |6,6,6,6,|6,6,6,7,|
|000042f0| 37 2c 37 2c 37 2c 37 2c | 37 2c 37 2c 37 2c 37 2c |7,7,7,7,|7,7,7,7,|
|00004300| 37 2c 37 2c 37 2c 37 2c | 38 2c 38 2c 38 2c 38 2c |7,7,7,7,|8,8,8,8,|
|00004310| 38 2c 38 2c 38 2c 38 2c | 22 c2 0d 26 22 39 2c 64 |8,8,8,8,|"..&"9,d|
|00004320| 2c 31 30 2c 31 31 2c 65 | 2c 31 32 2c 31 32 2c 31 |,10,11,e|,12,12,1|
|00004330| 32 2c 31 33 2c 31 33 2c | 31 33 2c 31 33 2c 31 33 |2,13,13,|13,13,13|
|00004340| 2c 31 33 2c 31 34 2c 31 | 35 22 0d 69 66 20 63 6f |,13,14,1|5".if co|
|00004350| 6c 32 74 20 3d 20 22 22 | 20 6f 72 20 63 6f 6c 32 |l2t = ""| or col2|
|00004360| 74 20 3d 20 74 72 75 65 | 20 74 68 65 6e 20 70 75 |t = true| then pu|
|00004370| 74 20 28 69 74 65 6d 20 | 63 20 6f 66 20 69 74 29 |t (item |c of it)|
|00004380| 20 69 6e 74 6f 20 63 6f | 6c 32 74 0d 72 65 70 65 | into co|l2t.repe|
|00004390| 61 74 20 77 69 74 68 20 | 61 20 3d 20 31 20 74 6f |at with |a = 1 to|
|000043a0| 20 35 0d 67 65 74 20 22 | 73 65 74 20 74 68 65 22 | 5.get "|set the"|
|000043b0| 26 26 69 74 65 6d 20 61 | 20 6f 66 20 22 41 2c 42 |&&item a| of "A,B|
|000043c0| 2c 43 2c 44 2c 45 22 20 | 26 20 22 5f 69 73 74 72 |,C,D,E" |& "_istr|
|000043d0| 61 6e 73 70 61 72 65 6e | 74 20 6f 66 20 77 69 6e |ansparen|t of win|
|000043e0| 64 6f 77 20 6d 61 70 20 | 74 6f 20 74 72 75 65 22 |dow map |to true"|
|000043f0| 0d 64 6f 20 69 74 0d 65 | 6e 64 20 72 65 70 65 61 |.do it.e|nd repea|
|00004400| 74 0d 69 66 20 63 6f 6c | 32 74 20 69 73 20 61 20 |t.if col|2t is a |
|00004410| 6e 75 6d 62 65 72 0d 74 | 68 65 6e 0d 61 64 64 20 |number.t|hen.add |
|00004420| 31 20 74 6f 20 63 6f 6c | 32 74 0d 65 6c 73 65 0d |1 to col|2t.else.|
|00004430| 67 65 74 20 22 73 65 74 | 20 74 68 65 22 26 26 63 |get "set| the"&&c|
|00004440| 6f 6c 32 74 20 26 20 22 | 5f 69 73 74 72 61 6e 73 |ol2t & "|_istrans|
|00004450| 70 61 72 65 6e 74 20 6f | 66 20 77 69 6e 64 6f 77 |parent o|f window|
|00004460| 20 6d 61 70 20 74 6f 20 | 66 61 6c 73 65 22 0d 64 | map to |false".d|
|00004470| 6f 20 69 74 0d 70 75 74 | 20 31 20 69 6e 74 6f 20 |o it.put| 1 into |
|00004480| 63 6f 6c 32 74 0d 70 75 | 74 20 22 22 20 69 6e 74 |col2t.pu|t "" int|
|00004490| 6f 20 63 6f 6c 33 74 0d | 65 6e 64 20 69 66 0d 67 |o col3t.|end if.g|
|000044a0| 65 74 20 22 30 2c 30 2c | 30 2c 30 2c 2c 31 2c 32 |et "0,0,|0,0,,1,2|
|000044b0| 2c 2c 2c 31 2c 32 2c 33 | 2c 34 2c 35 2c 36 2c 37 |,,,1,2,3|,4,5,6,7|
|000044c0| 2c 38 2c 39 2c 2c 31 2c | 32 2c 33 2c 34 2c 35 2c |,8,9,,1,|2,3,4,5,|
|000044d0| 36 2c 37 2c 38 2c 39 2c | 31 30 2c 31 31 2c 31 32 |6,7,8,9,|10,11,12|
|000044e0| 2c 31 33 2c 31 34 2c 31 | 35 2c 31 36 2c 31 37 2c |,13,14,1|5,16,17,|
|000044f0| 31 38 2c 2c 22 c2 0d 26 | 22 31 2c 32 2c 33 2c 34 |18,,"..&|"1,2,3,4|
|00004500| 2c 35 2c 36 2c 37 2c 38 | 2c 39 2c 31 30 2c 31 31 |,5,6,7,8|,9,10,11|
|00004510| 2c 31 32 2c 2c 31 2c 32 | 2c 33 2c 34 2c 35 2c 36 |,12,,1,2|,3,4,5,6|
|00004520| 2c 37 2c 22 0d 69 66 20 | 63 6f 6c 33 74 20 3d 20 |,7,".if |col3t = |
|00004530| 22 22 0d 74 68 65 6e 20 | 70 75 74 20 69 74 65 6d |"".then |put item|
|00004540| 20 63 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 63 6f | c of it| into co|
|00004550| 6c 33 74 0d 69 66 20 63 | 20 3d 20 35 39 0d 74 68 |l3t.if c| = 59.th|
|00004560| 65 6e 20 70 75 74 20 63 | 6e 28 29 2d 31 30 31 32 |en put c|n()-1012|
|00004570| 20 69 6e 74 6f 20 63 6f | 6c 33 74 0d 69 66 20 63 | into co|l3t.if c|
|00004580| 6f 6c 33 74 3d 30 20 74 | 68 65 6e 20 70 75 74 20 |ol3t=0 t|hen put |
|00004590| 22 22 20 69 6e 74 6f 20 | 63 6f 6c 33 74 0d 70 75 |"" into |col3t.pu|
|000045a0| 74 20 63 6f 6c 32 74 2d | 31 20 69 6e 74 6f 20 63 |t col2t-|1 into c|
|000045b0| 6f 6c 32 63 68 6f 69 63 | 65 0d 70 75 74 20 69 74 |ol2choic|e.put it|
|000045c0| 65 6d 20 63 6f 6c 32 74 | 20 6f 66 20 22 2d 31 30 |em col2t| of "-10|
|000045d0| 30 2c 30 2c 32 37 2c 34 | 36 2c 36 35 2c 38 34 2c |0,0,27,4|6,65,84,|
|000045e0| 31 30 33 2c 31 32 32 2c | 31 34 31 2c 31 36 30 2c |103,122,|141,160,|
|000045f0| 31 39 38 2c 32 31 37 2c | 32 33 36 2c 32 35 35 2c |198,217,|236,255,|
|00004600| 32 37 34 2c 32 39 33 2c | 33 31 32 22 20 69 6e 74 |274,293,|312" int|
|00004610| 6f 20 63 6f 6c 32 74 6f | 70 0d 70 75 74 20 69 74 |o col2to|p.put it|
|00004620| 65 6d 20 63 6f 6c 32 74 | 20 6f 66 20 22 2d 31 32 |em col2t| of "-12|
|00004630| 36 2c 32 36 2c 34 35 2c | 36 34 2c 38 33 2c 31 30 |6,26,45,|64,83,10|
|00004640| 32 2c 31 32 31 2c 31 34 | 30 2c 31 35 39 2c 31 39 |2,121,14|0,159,19|
|00004650| 37 2c 32 31 36 2c 32 33 | 35 2c 32 35 34 2c 32 37 |7,216,23|5,254,27|
|00004660| 33 2c 32 39 32 2c 33 31 | 31 2c 33 33 30 22 20 69 |3,292,31|1,330" i|
|00004670| 6e 74 6f 20 63 6f 6c 32 | 62 6f 74 74 6f 6d 0d 70 |nto col2|bottom.p|
|00004680| 75 74 20 69 74 65 6d 20 | 63 6f 6c 32 74 20 6f 66 |ut item |col2t of|
|00004690| 20 22 30 2c 2d 32 2c 2d | 32 39 2c 2d 34 38 2c 2d | "0,-2,-|29,-48,-|
|000046a0| 36 37 2c 2d 31 30 2c 2d | 32 39 2c 2d 34 38 2c 2d |67,-10,-|29,-48,-|
|000046b0| 36 37 2c 30 2c 2d 31 30 | 2c 2d 32 39 2c 2d 31 30 |67,0,-10|,-29,-10|
|000046c0| 2c 2d 32 39 2c 2d 34 38 | 2c 2d 36 37 22 20 69 6e |,-29,-48|,-67" in|
|000046d0| 74 6f 20 63 6f 6c 32 73 | 63 72 6f 6c 6c 0d 73 65 |to col2s|croll.se|
|000046e0| 74 20 74 68 65 20 63 6f | 6c 32 5f 70 61 74 68 20 |t the co|l2_path |
|000046f0| 6f 66 20 77 69 6e 64 6f | 77 20 77 6e 20 74 6f 20 |of windo|w wn to |
|00004700| 69 74 65 6d 20 63 6f 6c | 32 74 20 6f 66 20 20 22 |item col|2t of "|
|00004710| 2c 54 4f 43 32 2e 31 2c | 54 4f 43 32 2e 31 2c 54 |,TOC2.1,|TOC2.1,T|
|00004720| 4f 43 32 2e 31 2c 54 4f | 43 32 2e 31 2c 54 4f 43 |OC2.1,TO|C2.1,TOC|
|00004730| 32 2e 32 2c 54 4f 43 32 | 2e 32 2c 54 4f 43 32 2e |2.2,TOC2|.2,TOC2.|
|00004740| 32 2c 54 4f 43 32 2e 32 | 2c 54 4f 43 32 2e 33 2c |2,TOC2.2|,TOC2.3,|
|00004750| 54 4f 43 32 2e 34 2c 54 | 4f 43 32 2e 34 2c 54 4f |TOC2.4,T|OC2.4,TO|
|00004760| 43 32 2e 35 2c 54 4f 43 | 32 2e 35 2c 54 4f 43 32 |C2.5,TOC|2.5,TOC2|
|00004770| 2e 35 2c 54 4f 43 32 2e | 35 22 0d 70 75 74 20 69 |.5,TOC2.|5".put i|
|00004780| 74 65 6d 20 63 6f 6c 32 | 74 20 6f 66 20 20 22 2c |tem col2|t of ",|
|00004790| 2c 2c 2c 54 4f 43 33 2e | 31 2c 54 4f 43 33 2e 32 |,,,TOC3.|1,TOC3.2|
|000047a0| 2c 54 4f 43 33 2e 33 2c | 54 4f 43 33 2e 34 2c 54 |,TOC3.3,|TOC3.4,T|
|000047b0| 4f 43 33 2e 35 2c 54 4f | 43 33 2e 36 2c 2c 2c 2c |OC3.5,TO|C3.6,,,,|
|000047c0| 2c 2c 2c 22 20 69 6e 74 | 6f 20 63 6f 6c 33 70 61 |,,," int|o col3pa|
|000047d0| 74 68 0d 69 66 20 63 6f | 6c 33 74 20 3d 20 22 22 |th.if co|l3t = ""|
|000047e0| 20 74 68 65 6e 20 70 75 | 74 20 22 22 20 69 6e 74 | then pu|t "" int|
|000047f0| 6f 20 63 6f 6c 33 70 61 | 74 68 0d 69 66 20 63 6f |o col3pa|th.if co|
|00004800| 6c 33 70 61 74 68 20 3d | 20 22 22 0d 74 68 65 6e |l3path =| "".then|
|00004810| 20 70 75 74 20 30 20 69 | 6e 74 6f 20 63 6f 6c 33 | put 0 i|nto col3|
|00004820| 63 68 6f 69 63 65 0d 65 | 6c 73 65 20 70 75 74 20 |choice.e|lse put |
|00004830| 2d 31 20 69 6e 74 6f 20 | 63 6f 6c 33 63 68 6f 69 |-1 into |col3choi|
|00004840| 63 65 0d 67 65 74 20 22 | 31 39 34 2c 22 26 63 6f |ce.get "|194,"&co|
|00004850| 6c 32 74 6f 70 26 22 2c | 33 39 35 2c 22 26 63 6f |l2top&",|395,"&co|
|00004860| 6c 32 62 6f 74 74 6f 6d | 0d 70 75 74 20 22 73 65 |l2bottom|.put "se|
|00004870| 74 20 74 68 65 20 63 6f | 6c 32 5f 72 65 63 74 20 |t the co|l2_rect |
|00004880| 6f 66 20 77 69 6e 64 6f | 77 20 77 6e 20 74 6f 22 |of windo|w wn to"|
|00004890| 26 26 71 75 6f 74 65 26 | 69 74 26 71 75 6f 74 65 |&"e&|it"e|
|000048a0| 20 69 6e 74 6f 20 73 65 | 74 72 65 63 74 0d 64 6f | into se|trect.do|
|000048b0| 20 73 65 74 72 65 63 74 | 0d 67 65 74 20 22 30 2c | setrect|.get "0,|
|000048c0| 22 26 63 6f 6c 32 73 63 | 72 6f 6c 6c 0d 70 75 74 |"&col2sc|roll.put|
|000048d0| 20 22 73 65 74 20 74 68 | 65 20 63 6f 6c 32 5f 73 | "set th|e col2_s|
|000048e0| 63 72 6f 6c 6c 20 6f 66 | 20 77 69 6e 64 6f 77 20 |croll of| window |
|000048f0| 77 6e 20 74 6f 22 26 26 | 71 75 6f 74 65 26 69 74 |wn to"&&|quote&it|
|00004900| 26 71 75 6f 74 65 20 69 | 6e 74 6f 20 73 65 74 73 |"e i|nto sets|
|00004910| 63 72 6f 6c 6c 0d 64 6f | 20 73 65 74 73 63 72 6f |croll.do| setscro|
|00004920| 6c 6c 0d 70 75 74 20 63 | 6f 6c 33 74 20 69 6e 74 |ll.put c|ol3t int|
|00004930| 6f 20 63 6f 6c 33 63 68 | 6f 69 63 65 0d 69 66 20 |o col3ch|oice.if |
|00004940| 63 6f 6c 33 70 61 74 68 | 3c 3e 22 22 0d 74 68 65 |col3path|<>"".the|
|00004950| 6e 0d 70 75 74 20 74 68 | 65 20 72 65 63 74 20 6f |n.put th|e rect o|
|00004960| 66 20 77 69 6e 64 6f 77 | 20 77 6e 20 69 6e 74 6f |f window| wn into|
|00004970| 20 72 0d 70 75 74 20 28 | 69 74 65 6d 20 31 20 6f | r.put (|item 1 o|
|00004980| 66 20 72 29 20 2b 20 35 | 39 34 20 69 6e 74 6f 20 |f r) + 5|94 into |
|00004990| 69 74 65 6d 20 33 20 6f | 66 20 72 0d 70 75 74 20 |item 3 o|f r.put |
|000049a0| 28 69 74 65 6d 20 32 20 | 6f 66 20 72 29 20 2b 20 |(item 2 |of r) + |
|000049b0| 34 31 36 20 69 6e 74 6f | 20 69 74 65 6d 20 34 20 |416 into| item 4 |
|000049c0| 6f 66 20 72 0d 73 65 74 | 20 74 68 65 20 63 6f 6c |of r.set| the col|
|000049d0| 33 5f 70 61 74 68 20 6f | 66 20 77 69 6e 64 6f 77 |3_path o|f window|
|000049e0| 20 77 6e 20 74 6f 20 63 | 6f 6c 33 70 61 74 68 0d | wn to c|ol3path.|
|000049f0| 65 6c 73 65 0d 70 75 74 | 20 74 68 65 20 72 65 63 |else.put| the rec|
|00004a00| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 77 6e 20 69 |t of win|dow wn i|
|00004a10| 6e 74 6f 20 72 0d 70 75 | 74 20 28 69 74 65 6d 20 |nto r.pu|t (item |
|00004a20| 32 20 6f 66 20 72 29 20 | 2b 20 34 31 36 20 69 6e |2 of r) |+ 416 in|
|00004a30| 74 6f 20 69 74 65 6d 20 | 34 20 6f 66 20 72 0d 70 |to item |4 of r.p|
|00004a40| 75 74 20 28 69 74 65 6d | 20 31 20 6f 66 20 72 29 |ut (item| 1 of r)|
|00004a50| 20 2b 20 33 39 34 20 69 | 6e 74 6f 20 69 74 65 6d | + 394 i|nto item|
|00004a60| 20 33 20 6f 66 20 72 0d | 65 6e 64 20 69 66 0d 67 | 3 of r.|end if.g|
|00004a70| 65 74 20 74 68 65 20 63 | 6f 6c 33 5f 70 61 74 68 |et the c|ol3_path|
|00004a80| 20 6f 66 20 77 69 6e 64 | 6f 77 20 77 6e 0d 70 75 | of wind|ow wn.pu|
|00004a90| 74 20 22 48 22 20 62 65 | 66 6f 72 65 20 63 68 61 |t "H" be|fore cha|
|00004aa0| 72 20 34 20 6f 66 20 69 | 74 0d 73 65 74 20 74 68 |r 4 of i|t.set th|
|00004ab0| 65 20 63 6f 6c 68 33 5f | 70 61 74 68 20 6f 66 20 |e colh3_|path of |
|00004ac0| 77 69 6e 64 6f 77 20 77 | 6e 20 74 6f 20 69 74 0d |window w|n to it.|
|00004ad0| 67 65 74 20 22 33 39 36 | 2c 22 26 28 63 6f 6c 33 |get "396|,"&(col3|
|00004ae0| 74 2a 31 39 29 2d 31 32 | 26 22 2c 35 39 35 2c 22 |t*19)-12|&",595,"|
|00004af0| 26 28 63 6f 6c 33 74 2a | 31 39 29 2b 37 0d 69 66 |&(col3t*|19)+7.if|
|00004b00| 20 69 74 65 6d 20 32 20 | 6f 66 20 69 74 20 3c 20 | item 2 |of it < |
|00004b10| 31 39 20 74 68 65 6e 20 | 70 75 74 20 30 20 69 6e |19 then |put 0 in|
|00004b20| 74 6f 20 69 74 65 6d 20 | 32 20 6f 66 20 69 74 0d |to item |2 of it.|
|00004b30| 73 65 74 20 74 68 65 20 | 63 6f 6c 68 33 5f 72 65 |set the |colh3_re|
|00004b40| 63 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 6e 20 |ct of wi|ndow wn |
|00004b50| 74 6f 20 69 74 0d 67 65 | 74 20 22 30 2c 22 26 28 |to it.ge|t "0,"&(|
|00004b60| 28 63 6f 6c 33 74 2d 31 | 29 2a 31 39 29 2a 2d 31 |(col3t-1|)*19)*-1|
|00004b70| 0d 69 66 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |.if item| 2 of it|
|00004b80| 20 3e 20 2d 31 39 0d 74 | 68 65 6e 20 70 75 74 20 | > -19.t|hen put |
|00004b90| 2d 32 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |-2 into |item 2 o|
|00004ba0| 66 20 69 74 0d 65 6c 73 | 65 20 73 75 62 74 72 61 |f it.els|e subtra|
|00004bb0| 63 74 20 39 20 66 72 6f | 6d 20 69 74 65 6d 20 32 |ct 9 fro|m item 2|
|00004bc0| 20 6f 66 20 69 74 0d 73 | 65 74 20 74 68 65 20 63 | of it.s|et the c|
|00004bd0| 6f 6c 68 33 5f 73 63 72 | 6f 6c 6c 20 6f 66 20 77 |olh3_scr|oll of w|
|00004be0| 69 6e 64 6f 77 20 77 6e | 20 74 6f 20 69 74 0d 73 |indow wn| to it.s|
|00004bf0| 65 74 20 74 68 65 20 63 | 6f 6c 68 33 5f 76 69 73 |et the c|olh3_vis|
|00004c00| 69 62 6c 65 20 6f 66 20 | 77 69 6e 64 6f 77 20 77 |ible of |window w|
|00004c10| 6e 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 74 68 |n to tru|e.set th|
|00004c20| 65 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 6f 66 20 |e locksc|reen of |
|00004c30| 77 69 6e 64 6f 77 20 77 | 6e 20 74 6f 20 66 61 6c |window w|n to fal|
|00004c40| 73 65 0d 69 66 20 74 68 | 65 20 72 65 63 74 20 6f |se.if th|e rect o|
|00004c50| 66 20 77 69 6e 64 6f 77 | 20 77 6e 20 3c 3e 20 72 |f window| wn <> r|
|00004c60| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 72 65 |.then se|t the re|
|00004c70| 63 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 6e 20 |ct of wi|ndow wn |
|00004c80| 74 6f 20 72 0d 73 65 6e | 64 20 72 65 64 72 61 77 |to r.sen|d redraw|
|00004c90| 77 69 6e 64 6f 77 20 74 | 6f 20 77 69 6e 64 6f 77 |window t|o window|
|00004ca0| 20 6d 61 70 0d 65 6e 64 | 20 70 6f 73 69 74 69 6f | map.end| positio|
|00004cb0| 6e 6d 61 70 0d 6f 6e 20 | 66 69 6e 64 63 6f 6c 6f |nmap.on |findcolo|
|00004cc0| 72 20 64 69 72 65 63 74 | 69 6f 6e 2c 63 6f 6c 6f |r direct|ion,colo|
|00004cd0| 72 0d 67 6c 6f 62 61 6c | 20 74 63 74 0d 73 65 74 |r.global| tct.set|
|00004ce0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00004cf0| 0d 69 66 20 63 6f 6c 6f | 72 20 3d 20 6f 72 61 6e |.if colo|r = oran|
|00004d00| 67 65 20 74 68 65 6e 20 | 70 75 74 20 22 36 35 35 |ge then |put "655|
|00004d10| 33 35 2c 32 36 31 31 32 | 2c 30 22 20 69 6e 74 6f |35,26112|,0" into|
|00004d20| 20 63 6f 6c 6f 72 0d 69 | 66 20 63 6f 6c 6f 72 20 | color.i|f color |
|00004d30| 3d 20 79 65 6c 6c 6f 77 | 20 74 68 65 6e 20 70 75 |= yellow| then pu|
|00004d40| 74 20 22 36 35 35 33 35 | 2c 36 35 35 33 35 2c 30 |t "65535|,65535,0|
|00004d50| 22 20 69 6e 74 6f 20 63 | 6f 6c 6f 72 0d 69 66 20 |" into c|olor.if |
|00004d60| 63 6f 6c 6f 72 20 3d 20 | 67 72 65 65 6e 20 74 68 |color = |green th|
|00004d70| 65 6e 20 70 75 74 20 22 | 32 36 31 31 32 2c 36 35 |en put "|26112,65|
|00004d80| 35 33 35 2c 30 22 20 69 | 6e 74 6f 20 63 6f 6c 6f |535,0" i|nto colo|
|00004d90| 72 0d 69 66 20 63 6f 6c | 6f 72 20 3d 20 62 6c 75 |r.if col|or = blu|
|00004da0| 65 20 74 68 65 6e 20 70 | 75 74 20 22 32 36 36 32 |e then p|ut "2662|
|00004db0| 34 2c 35 32 32 32 34 2c | 36 35 35 33 35 22 20 69 |4,52224,|65535" i|
|00004dc0| 6e 74 6f 20 63 6f 6c 6f | 72 0d 70 75 74 20 74 68 |nto colo|r.put th|
|00004dd0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 73 |e number| of this|
|00004de0| 20 63 64 20 69 6e 74 6f | 20 63 0d 69 66 20 64 69 | cd into| c.if di|
|00004df0| 72 65 63 74 69 6f 6e 20 | 63 6f 6e 74 61 69 6e 73 |rection |contains|
|00004e00| 20 70 72 65 76 0d 74 68 | 65 6e 20 70 75 74 20 2d | prev.th|en put -|
|00004e10| 31 20 69 6e 74 6f 20 62 | 0d 65 6c 73 65 20 70 75 |1 into b|.else pu|
|00004e20| 74 20 31 20 69 6e 74 6f | 20 62 0d 75 6e 6d 61 72 |t 1 into| b.unmar|
|00004e30| 6b 20 61 6c 6c 20 63 64 | 73 0d 6d 61 72 6b 20 63 |k all cd|s.mark c|
|00004e40| 61 72 64 73 20 77 68 65 | 72 65 20 66 6c 64 20 22 |ards whe|re fld "|
|00004e50| 63 6f 6c 6f 72 65 64 6c | 69 6e 65 73 22 20 63 6f |coloredl|ines" co|
|00004e60| 6e 74 61 69 6e 73 20 63 | 6f 6c 6f 72 0d 67 6f 20 |ntains c|olor.go |
|00004e70| 64 69 72 65 63 74 69 6f | 6e 20 6d 61 72 6b 65 64 |directio|n marked|
|00004e80| 20 63 61 72 64 0d 73 65 | 74 20 63 75 72 73 6f 72 | card.se|t cursor|
|00004e90| 20 74 6f 20 62 72 6f 77 | 73 65 0d 65 6e 64 20 66 | to brow|se.end f|
|00004ea0| 69 6e 64 63 6f 6c 6f 72 | 0d 6f 6e 20 67 65 74 6f |indcolor|.on geto|
|00004eb0| 75 74 0d 6c 6f 63 6b 20 | 6d 65 73 73 61 67 65 73 |ut.lock |messages|
|00004ec0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 64 6f 6d |.lock sc|reen.dom|
|00004ed0| 65 6e 75 20 22 71 75 69 | 74 20 68 79 70 65 72 63 |enu "qui|t hyperc|
|00004ee0| 61 72 64 22 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |ard".exi|t to hyp|
|00004ef0| 65 72 63 61 72 64 0d 65 | 6e 64 20 67 65 74 6f 75 |ercard.e|nd getou|
|00004f00| 74 0d 6f 6e 20 6f 70 65 | 6e 73 74 61 63 6b 0d 67 |t.on ope|nstack.g|
|00004f10| 6c 6f 62 61 6c 20 67 65 | 74 74 69 6e 67 6f 75 74 |lobal ge|ttingout|
|00004f20| 2c 61 75 64 69 6f 66 6f | 6c 64 65 72 2c 6d 6f 76 |,audiofo|lder,mov|
|00004f30| 69 65 73 66 6f 6c 64 65 | 72 2c 67 43 75 72 4c 61 |iesfolde|r,gCurLa|
|00004f40| 6e 67 2c 70 69 63 74 75 | 72 65 66 6f 6c 64 65 72 |ng,pictu|refolder|
|00004f50| 2c 67 42 4c 50 61 67 65 | 73 2c 67 42 4c 4d 65 6e |,gBLPage|s,gBLMen|
|00004f60| 75 2c 69 6e 64 65 78 6e | 61 6d 65 73 2c 73 65 63 |u,indexn|ames,sec|
|00004f70| 74 69 6f 6e 6e 61 6d 65 | 73 0d 2d 2d 20 69 66 20 |tionname|s.-- if |
|00004f80| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 66 |there is| not a f|
|00004f90| 69 6c 65 20 22 44 6f 6e | 20 4e 6f 72 6d 61 6e 20 |ile "Don| Norman |
|00004fa0| 43 44 3a 4e 6f 72 6d 61 | 6e 20 46 6f 6e 74 73 22 |CD:Norma|n Fonts"|
|00004fb0| 0d 2d 2d 20 74 68 65 6e | 0d 2d 2d 20 70 75 74 20 |.-- then|.-- put |
|00004fc0| 74 72 75 65 20 69 6e 74 | 6f 20 67 65 74 74 69 6e |true int|o gettin|
|00004fd0| 67 6f 75 74 0d 2d 2d 20 | 61 6e 73 77 65 72 20 22 |gout.-- |answer "|
|00004fe0| 44 6f 6e 20 4e 6f 72 6d | 61 6e 20 72 65 71 75 69 |Don Norm|an requi|
|00004ff0| 72 65 73 20 74 68 65 20 | 43 44 20 d2 44 6f 6e 20 |res the |CD .Don |
|00005000| 4e 6f 72 6d 61 6e 20 43 | 44 d3 20 74 6f 20 62 65 |Norman C|D. to be|
|00005010| 20 69 6e 73 65 72 74 65 | 64 20 69 6e 74 6f 20 74 | inserte|d into t|
|00005020| 68 65 20 43 44 2d 52 4f | 4d 20 64 72 69 76 65 2e |he CD-RO|M drive.|
|00005030| 22 20 77 69 74 68 20 22 | 51 75 69 74 22 0d 2d 2d |" with "|Quit".--|
|00005040| 20 67 65 74 6f 75 74 0d | 2d 2d 20 65 6e 64 20 69 | getout.|-- end i|
|00005050| 66 0d 66 69 6c 6c 6d 79 | 63 68 61 70 74 65 72 73 |f.fillmy|chapters|
|00005060| 0d 73 68 6f 77 20 62 74 | 6e 20 22 56 6f 79 61 67 |.show bt|n "Voyag|
|00005070| 65 72 20 20 70 72 65 73 | 65 6e 74 73 2e 2e 2e 22 |er pres|ents..."|
|00005080| 20 6f 66 20 63 64 20 31 | 0d 70 75 74 20 66 6c 64 | of cd 1|.put fld|
|00005090| 20 22 70 61 74 68 22 20 | 6f 66 20 63 64 20 31 20 | "path" |of cd 1 |
|000050a0| 69 6e 74 6f 20 70 6e 0d | 70 75 74 20 70 6e 20 69 |into pn.|put pn i|
|000050b0| 6e 74 6f 20 61 75 64 69 | 6f 66 6f 6c 64 65 72 0d |nto audi|ofolder.|
|000050c0| 70 75 74 20 70 6e 20 69 | 6e 74 6f 20 6d 6f 76 69 |put pn i|nto movi|
|000050d0| 65 73 66 6f 6c 64 65 72 | 0d 70 75 74 20 22 44 65 |esfolder|.put "De|
|000050e0| 73 69 67 6e 20 49 6e 64 | 65 78 2c 54 75 72 6e 53 |sign Ind|ex,TurnS|
|000050f0| 69 67 6e 61 6c 73 20 49 | 6e 64 65 78 2c 54 68 69 |ignals I|ndex,Thi|
|00005100| 6e 67 73 20 49 6e 64 65 | 78 2c 53 75 70 70 6c 65 |ngs Inde|x,Supple|
|00005110| 6d 65 6e 74 20 49 6e 64 | 65 78 22 20 69 6e 74 6f |ment Ind|ex" into|
|00005120| 20 69 6e 64 65 78 6e 61 | 6d 65 73 0d 70 75 74 20 | indexna|mes.put |
|00005130| 22 44 65 73 69 67 6e 46 | 69 6e 64 73 2c 54 75 72 |"DesignF|inds,Tur|
|00005140| 6e 53 69 67 6e 61 6c 73 | 46 69 6e 64 73 2c 54 68 |nSignals|Finds,Th|
|00005150| 69 6e 67 73 46 69 6e 64 | 73 2c 53 75 70 70 6c 65 |ingsFind|s,Supple|
|00005160| 6d 65 6e 74 46 69 6e 64 | 73 22 20 69 6e 74 6f 20 |mentFind|s" into |
|00005170| 73 65 63 74 69 6f 6e 6e | 61 6d 65 73 0d 70 75 74 |sectionn|ames.put|
|00005180| 20 66 6c 64 20 22 42 4c | 50 61 67 65 73 22 20 6f | fld "BL|Pages" o|
|00005190| 66 20 63 64 20 31 20 69 | 6e 74 6f 20 67 42 4c 50 |f cd 1 i|nto gBLP|
|000051a0| 61 67 65 73 0d 70 75 74 | 20 66 6c 64 20 22 42 4c |ages.put| fld "BL|
|000051b0| 4d 65 6e 75 22 20 6f 66 | 20 63 64 20 31 20 69 6e |Menu" of| cd 1 in|
|000051c0| 74 6f 20 67 42 4c 4d 65 | 6e 75 0d 70 75 74 20 70 |to gBLMe|nu.put p|
|000051d0| 6e 20 69 6e 74 6f 20 70 | 69 63 74 75 72 65 66 6f |n into p|icturefo|
|000051e0| 6c 64 65 72 0d 73 65 74 | 20 74 68 65 20 63 61 6e |lder.set| the can|
|000051f0| 74 61 62 6f 72 74 20 6f | 66 20 74 68 69 73 20 73 |tabort o|f this s|
|00005200| 74 61 63 6b 20 74 6f 20 | 74 72 75 65 0d 69 66 20 |tack to |true.if |
|00005210| 6e 6f 74 20 53 74 61 63 | 6b 49 6e 55 73 65 28 22 |not Stac|kInUse("|
|00005220| 54 68 65 20 4c 69 62 72 | 61 72 79 22 29 20 74 68 |The Libr|ary") th|
|00005230| 65 6e 20 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |en start| using s|
|00005240| 74 61 63 6b 20 47 65 74 | 53 74 61 63 6b 50 61 74 |tack Get|StackPat|
|00005250| 68 28 29 26 22 54 68 65 | 20 4c 69 62 72 61 72 79 |h()&"The| Library|
|00005260| 22 0d 70 75 74 20 67 65 | 74 53 74 72 28 22 43 75 |".put ge|tStr("Cu|
|00005270| 72 72 65 6e 74 4c 61 6e | 67 75 61 67 65 22 29 20 |rrentLan|guage") |
|00005280| 69 6e 74 6f 20 67 43 75 | 72 4c 61 6e 67 0d 69 66 |into gCu|rLang.if|
|00005290| 20 67 43 75 72 4c 61 6e | 67 20 3d 20 22 22 20 74 | gCurLan|g = "" t|
|000052a0| 68 65 6e 20 70 75 74 20 | 31 20 69 6e 74 6f 20 67 |hen put |1 into g|
|000052b0| 43 75 72 4c 61 6e 67 0d | 64 6f 43 53 54 52 20 22 |CurLang.|doCSTR "|
|000052c0| 46 69 6c 6c 67 48 43 4c | 61 6e 67 43 53 54 52 22 |FillgHCL|angCSTR"|
|000052d0| 0d 63 68 65 63 6b 56 65 | 72 73 69 6f 6e 73 0d 63 |.checkVe|rsions.c|
|000052e0| 68 65 63 6b 46 6f 6e 74 | 73 0d 6a 75 73 74 6f 70 |heckFont|s.justop|
|000052f0| 65 6e 65 64 0d 75 70 64 | 61 74 65 55 4d 53 74 61 |ened.upd|ateUMSta|
|00005300| 74 65 0d 73 65 74 20 74 | 68 65 20 63 61 6e 74 61 |te.set t|he canta|
|00005310| 62 6f 72 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |bort of |this sta|
|00005320| 63 6b 20 74 6f 20 66 61 | 6c 73 65 0d 44 4e 4d 6f |ck to fa|lse.DNMo|
|00005330| 76 69 65 20 22 46 69 67 | 20 32 2e 31 20 4d 6f 76 |vie "Fig| 2.1 Mov|
|00005340| 69 65 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ie".if t|here is |
|00005350| 61 20 77 69 6e 64 6f 77 | 20 22 46 69 67 20 32 2e |a window| "Fig 2.|
|00005360| 31 20 4d 6f 76 69 65 22 | 20 74 68 65 6e 20 63 6c |1 Movie"| then cl|
|00005370| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 46 69 67 20 |ose wind|ow "Fig |
|00005380| 32 2e 31 20 4d 6f 76 69 | 65 22 0d 61 64 64 63 6f |2.1 Movi|e".addco|
|00005390| 6c 6f 72 20 69 6e 73 74 | 61 6c 6c 2c 38 0d 61 64 |lor inst|all,8.ad|
|000053a0| 64 63 6f 6c 6f 72 20 65 | 6e 61 62 6c 65 0d 41 64 |dcolor e|nable.Ad|
|000053b0| 64 43 6f 6c 6f 72 20 22 | 67 65 74 42 69 74 73 43 |dColor "|getBitsC|
|000053c0| 61 6c 6c 22 0d 67 65 74 | 20 74 68 65 20 72 65 73 |all".get| the res|
|000053d0| 75 6c 74 0d 41 64 64 43 | 6f 6c 6f 72 46 69 78 20 |ult.AddC|olorFix |
|000053e0| 69 74 0d 73 65 74 20 62 | 6c 69 6e 64 74 79 70 69 |it.set b|lindtypi|
|000053f0| 6e 67 20 74 6f 20 74 72 | 75 65 0d 70 61 73 73 20 |ng to tr|ue.pass |
|00005400| 6f 70 65 6e 73 74 61 63 | 6b 0d 65 6e 64 20 6f 70 |openstac|k.end op|
|00005410| 65 6e 73 74 61 63 6b 0d | 66 75 6e 63 74 69 6f 6e |enstack.|function|
|00005420| 20 72 69 67 68 74 76 65 | 72 73 69 6f 6e 0d 67 65 | rightve|rsion.ge|
|00005430| 74 20 74 68 65 20 76 65 | 72 73 69 6f 6e 0d 69 66 |t the ve|rsion.if|
|00005440| 20 69 74 20 3c 20 32 2e | 31 20 74 68 65 6e 0d 61 | it < 2.|1 then.a|
|00005450| 6e 73 77 65 72 20 74 53 | 74 72 28 22 42 6f 6f 6b |nswer tS|tr("Book|
|00005460| 4d 73 67 22 2c 31 29 3b | 0d 72 65 74 75 72 6e 20 |Msg",1);|.return |
|00005470| 66 61 6c 73 65 0d 65 6c | 73 65 0d 72 65 74 75 72 |false.el|se.retur|
|00005480| 6e 20 74 72 75 65 0d 65 | 6e 64 20 69 66 0d 65 6e |n true.e|nd if.en|
|00005490| 64 20 72 69 67 68 74 76 | 65 72 73 69 6f 6e 0d 66 |d rightv|ersion.f|
|000054a0| 75 6e 63 74 69 6f 6e 20 | 72 69 67 68 74 4c 69 62 |unction |rightLib|
|000054b0| 72 61 72 79 0d 70 75 74 | 20 67 65 74 53 74 72 28 |rary.put| getStr(|
|000054c0| 22 54 68 69 73 4c 69 62 | 72 61 72 79 56 65 72 73 |"ThisLib|raryVers|
|000054d0| 69 6f 6e 22 29 20 69 6e | 74 6f 20 4c 56 0d 69 66 |ion") in|to LV.if|
|000054e0| 20 4c 56 20 3d 20 22 22 | 20 74 68 65 6e 20 70 75 | LV = ""| then pu|
|000054f0| 74 20 22 31 2e 31 22 20 | 69 6e 74 6f 20 4c 56 0d |t "1.1" |into LV.|
|00005500| 70 75 74 20 67 65 74 53 | 74 72 28 22 4e 65 65 64 |put getS|tr("Need|
|00005510| 73 4c 69 62 72 61 72 79 | 56 65 72 73 69 6f 6e 22 |sLibrary|Version"|
|00005520| 29 20 69 6e 74 6f 20 42 | 4c 56 0d 69 66 20 42 4c |) into B|LV.if BL|
|00005530| 56 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |V = "" t|hen put |
|00005540| 22 31 2e 31 22 20 69 6e | 74 6f 20 42 4c 56 0d 69 |"1.1" in|to BLV.i|
|00005550| 66 20 4c 56 20 3c 20 42 | 4c 56 20 74 68 65 6e 0d |f LV < B|LV then.|
|00005560| 61 6e 73 77 65 72 20 74 | 68 65 20 73 68 6f 72 74 |answer t|he short|
|00005570| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00005580| 61 63 6b 26 26 74 53 74 | 72 28 22 42 6f 6f 6b 4d |ack&&tSt|r("BookM|
|00005590| 73 67 22 2c 32 29 26 26 | 42 4c 56 26 26 74 53 74 |sg",2)&&|BLV&&tSt|
|000055a0| 72 28 22 42 6f 6f 6b 4d | 73 67 22 2c 33 29 0d 72 |r("BookM|sg",3).r|
|000055b0| 65 74 75 72 6e 20 66 61 | 6c 73 65 0d 65 6c 73 65 |eturn fa|lse.else|
|000055c0| 0d 72 65 74 75 72 6e 20 | 74 72 75 65 0d 65 6e 64 |.return |true.end|
|000055d0| 20 69 66 0d 65 6e 64 20 | 72 69 67 68 74 4c 69 62 | if.end |rightLib|
|000055e0| 72 61 72 79 0d 0d 6f 6e | 20 75 70 64 61 74 65 55 |rary..on| updateU|
|000055f0| 4d 53 74 61 74 65 0d 70 | 75 74 20 74 53 74 72 28 |MState.p|ut tStr(|
|00005600| 22 4c 69 62 4d 73 67 22 | 2c 34 30 29 20 69 6e 74 |"LibMsg"|,40) int|
|00005610| 6f 20 62 6e 0d 68 61 6e | 64 6c 65 4d 49 53 74 61 |o bn.han|dleMISta|
|00005620| 74 65 20 22 48 61 73 4c | 61 72 67 65 50 72 69 6e |te "HasL|argePrin|
|00005630| 74 4d 65 6e 75 49 74 65 | 6d 22 2c 20 74 53 74 72 |tMenuIte|m", tStr|
|00005640| 28 22 4c 69 62 4d 73 67 | 22 2c 34 35 29 2c 20 62 |("LibMsg|",45), b|
|00005650| 6e 0d 68 61 6e 64 6c 65 | 4d 49 53 74 61 74 65 20 |n.handle|MIState |
|00005660| 22 48 61 73 41 6e 6e 6f | 74 61 74 69 6f 6e 4d 65 |"HasAnno|tationMe|
|00005670| 6e 75 49 74 65 6d 22 2c | 20 74 53 74 72 28 22 4c |nuItem",| tStr("L|
|00005680| 69 62 4d 73 67 22 2c 34 | 36 29 2c 20 62 6e 0d 65 |ibMsg",4|6), bn.e|
|00005690| 4d 65 6e 75 20 74 53 74 | 72 28 22 4c 69 62 4d 73 |Menu tSt|r("LibMs|
|000056a0| 67 22 2c 34 31 29 2c 62 | 6e 0d 65 4d 65 6e 75 20 |g",41),b|n.eMenu |
|000056b0| 74 53 74 72 28 22 4c 69 | 62 4d 73 67 22 2c 34 33 |tStr("Li|bMsg",43|
|000056c0| 29 2c 62 6e 0d 64 4d 65 | 6e 75 20 74 53 74 72 28 |),bn.dMe|nu tStr(|
|000056d0| 22 4c 69 62 4d 73 67 22 | 2c 34 34 29 2c 62 6e 0d |"LibMsg"|,44),bn.|
|000056e0| 65 4d 65 6e 75 20 74 53 | 74 72 28 22 4c 69 62 4d |eMenu tS|tr("LibM|
|000056f0| 73 67 22 2c 35 33 29 2c | 62 6e 0d 65 4d 65 6e 75 |sg",53),|bn.eMenu|
|00005700| 20 74 53 74 72 28 22 4c | 69 62 4d 73 67 22 2c 35 | tStr("L|ibMsg",5|
|00005710| 32 29 2c 62 6e 0d 65 4d | 65 6e 75 20 74 53 74 72 |2),bn.eM|enu tStr|
|00005720| 28 22 4c 69 62 4d 73 67 | 22 2c 35 31 29 2c 62 6e |("LibMsg|",51),bn|
|00005730| 0d 65 6e 64 20 75 70 64 | 61 74 65 55 4d 53 74 61 |.end upd|ateUMSta|
|00005740| 74 65 0d 6f 6e 20 68 61 | 6e 64 6c 65 4d 49 53 74 |te.on ha|ndleMISt|
|00005750| 61 74 65 20 74 68 65 53 | 74 72 69 6e 67 2c 20 74 |ate theS|tring, t|
|00005760| 68 65 49 74 65 6d 2c 20 | 74 68 65 4d 65 6e 75 0d |heItem, |theMenu.|
|00005770| 67 65 74 20 48 61 73 43 | 53 54 52 28 74 68 65 53 |get HasC|STR(theS|
|00005780| 74 72 69 6e 67 29 0d 69 | 66 20 69 74 20 3d 20 22 |tring).i|f it = "|
|00005790| 22 20 74 68 65 6e 0d 65 | 4d 65 6e 75 20 74 68 65 |" then.e|Menu the|
|000057a0| 49 74 65 6d 2c 74 68 65 | 4d 65 6e 75 0d 65 6c 73 |Item,the|Menu.els|
|000057b0| 65 20 69 66 20 69 74 20 | 3d 20 22 74 72 75 65 22 |e if it |= "true"|
|000057c0| 20 74 68 65 6e 0d 65 4d | 65 6e 75 20 74 68 65 49 | then.eM|enu theI|
|000057d0| 74 65 6d 2c 74 68 65 4d | 65 6e 75 0d 65 6c 73 65 |tem,theM|enu.else|
|000057e0| 0d 64 4d 65 6e 75 20 74 | 68 65 49 74 65 6d 2c 74 |.dMenu t|heItem,t|
|000057f0| 68 65 4d 65 6e 75 0d 65 | 6e 64 20 69 66 0d 65 6e |heMenu.e|nd if.en|
|00005800| 64 20 68 61 6e 64 6c 65 | 4d 49 53 74 61 74 65 0d |d handle|MIState.|
|00005810| 6f 6e 20 63 68 65 63 6b | 56 65 72 73 69 6f 6e 73 |on check|Versions|
|00005820| 0d 69 66 20 6e 6f 74 20 | 72 69 67 68 74 76 65 72 |.if not |rightver|
|00005830| 73 69 6f 6e 28 29 20 74 | 68 65 6e 0d 64 6f 6d 65 |sion() t|hen.dome|
|00005840| 6e 75 20 48 43 4d 49 28 | 33 31 29 0d 65 78 69 74 |nu HCMI(|31).exit|
|00005850| 20 74 6f 20 68 79 70 65 | 72 63 61 72 64 0d 65 6e | to hype|rcard.en|
|00005860| 64 20 69 66 0d 69 66 20 | 6e 6f 74 20 72 69 67 68 |d if.if |not righ|
|00005870| 74 4c 69 62 72 61 72 79 | 28 29 20 74 68 65 6e 0d |tLibrary|() then.|
|00005880| 64 6f 6d 65 6e 75 20 48 | 43 4d 49 28 33 31 29 0d |domenu H|CMI(31).|
|00005890| 65 78 69 74 20 74 6f 20 | 68 79 70 65 72 63 61 72 |exit to |hypercar|
|000058a0| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 63 68 65 |d.end if|.end che|
|000058b0| 63 6b 56 65 72 73 69 6f | 6e 73 0d 66 75 6e 63 74 |ckVersio|ns.funct|
|000058c0| 69 6f 6e 20 73 74 61 63 | 6b 45 78 69 73 74 73 20 |ion stac|kExists |
|000058d0| 6e 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |n.put fa|lse into|
|000058e0| 20 62 0d 70 75 74 20 67 | 65 74 73 74 61 63 6b 70 | b.put g|etstackp|
|000058f0| 61 74 68 28 29 20 69 6e | 74 6f 20 64 69 72 0d 70 |ath() in|to dir.p|
|00005900| 75 74 20 67 65 74 46 69 | 6c 65 73 49 6e 44 69 72 |ut getFi|lesInDir|
|00005910| 28 64 69 72 2c 22 22 2c | 72 65 74 75 72 6e 29 20 |(dir,"",|return) |
|00005920| 69 6e 74 6f 20 66 6c 69 | 73 74 0d 72 65 70 65 61 |into fli|st.repea|
|00005930| 74 20 77 69 74 68 20 78 | 20 3d 20 31 20 74 6f 20 |t with x| = 1 to |
|00005940| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00005950| 6e 65 73 20 69 6e 20 66 | 6c 69 73 74 0d 70 75 74 |nes in f|list.put|
|00005960| 20 28 6c 69 6e 65 20 78 | 20 6f 66 20 66 6c 69 73 | (line x| of flis|
|00005970| 74 20 3d 20 6e 29 20 69 | 6e 74 6f 20 62 0d 69 66 |t = n) i|nto b.if|
|00005980| 20 62 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 | b then |exit rep|
|00005990| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |eat.end |repeat.r|
|000059a0| 65 74 75 72 6e 20 62 0d | 65 6e 64 20 73 74 61 63 |eturn b.|end stac|
|000059b0| 6b 45 78 69 73 74 73 0d | 6f 6e 20 72 65 73 75 6d |kExists.|on resum|
|000059c0| 65 73 74 61 63 6b 0d 69 | 66 20 6e 6f 74 20 53 74 |estack.i|f not St|
|000059d0| 61 63 6b 49 6e 55 73 65 | 28 22 54 68 65 20 4c 69 |ackInUse|("The Li|
|000059e0| 62 72 61 72 79 22 29 20 | 74 68 65 6e 20 73 74 61 |brary") |then sta|
|000059f0| 72 74 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 47 |rt using| stack G|
|00005a00| 65 74 53 74 61 63 6b 50 | 61 74 68 28 29 26 22 54 |etStackP|ath()&"T|
|00005a10| 68 65 20 4c 69 62 72 61 | 72 79 22 0d 69 66 20 74 |he Libra|ry".if t|
|00005a20| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 6d 65 |here is |not a me|
|00005a30| 6e 75 20 74 53 74 72 28 | 22 4c 69 62 4d 73 67 22 |nu tStr(|"LibMsg"|
|00005a40| 2c 34 30 29 20 74 68 65 | 6e 0d 6a 75 73 74 6f 70 |,40) the|n.justop|
|00005a50| 65 6e 65 64 0d 65 6c 73 | 65 0d 66 69 6c 6c 74 68 |ened.els|e.fillth|
|00005a60| 65 6d 0d 65 6e 64 20 69 | 66 0d 73 65 6e 64 20 6d |em.end i|f.send m|
|00005a70| 6f 76 65 77 69 6e 64 6f | 77 20 74 6f 20 74 68 69 |ovewindo|w to thi|
|00005a80| 73 20 62 67 0d 69 66 20 | 43 44 73 28 29 20 61 6e |s bg.if |CDs() an|
|00005a90| 64 20 6e 6f 74 20 52 42 | 28 29 20 74 68 65 6e 0d |d not RB|() then.|
|00005aa0| 4c 53 0d 55 44 74 6f 6f | 6c 73 0d 6f 63 73 74 75 |LS.UDtoo|ls.ocstu|
|00005ab0| 66 66 0d 55 53 0d 65 6e | 64 20 69 66 0d 75 70 64 |ff.US.en|d if.upd|
|00005ac0| 61 74 65 55 4d 53 74 61 | 74 65 0d 70 61 73 73 20 |ateUMSta|te.pass |
|00005ad0| 72 65 73 75 6d 65 73 74 | 61 63 6b 0d 65 6e 64 20 |resumest|ack.end |
|00005ae0| 72 65 73 75 6d 65 73 74 | 61 63 6b 0d 6f 6e 20 63 |resumest|ack.on c|
|00005af0| 6c 6f 73 65 73 74 61 63 | 6b 0d 67 6c 6f 62 61 6c |losestac|k.global|
|00005b00| 20 67 65 74 74 69 6e 67 | 6f 75 74 0d 6c 73 0d 73 | getting|out.ls.s|
|00005b10| 68 6f 77 20 62 74 6e 20 | 22 56 6f 79 61 67 65 72 |how btn |"Voyager|
|00005b20| 20 20 70 72 65 73 65 6e | 74 73 2e 2e 2e 22 20 6f | presen|ts..." o|
|00005b30| 66 20 63 64 20 31 0d 69 | 66 20 67 65 74 74 69 6e |f cd 1.i|f gettin|
|00005b40| 67 6f 75 74 20 3d 20 74 | 72 75 65 20 74 68 65 6e |gout = t|rue then|
|00005b50| 20 65 78 69 74 20 63 6c | 6f 73 65 73 74 61 63 6b | exit cl|osestack|
|00005b60| 0d 73 65 74 20 74 68 65 | 20 63 61 6e 74 61 62 6f |.set the| cantabo|
|00005b70| 72 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |rt of th|is stack|
|00005b80| 20 74 6f 20 74 72 75 65 | 0d 64 6f 43 53 54 52 20 | to true|.doCSTR |
|00005b90| 22 53 61 76 65 42 6f 6f | 6b 4d 65 6e 75 53 65 74 |"SaveBoo|kMenuSet|
|00005ba0| 74 69 6e 67 73 43 53 54 | 52 22 0d 70 61 73 73 20 |tingsCST|R".pass |
|00005bb0| 63 6c 6f 73 65 73 74 61 | 63 6b 0d 65 6e 64 20 63 |closesta|ck.end c|
|00005bc0| 6c 6f 73 65 73 74 61 63 | 6b 0d 6f 6e 20 73 75 73 |losestac|k.on sus|
|00005bd0| 70 65 6e 64 73 74 61 63 | 6b 0d 64 6f 43 53 54 52 |pendstac|k.doCSTR|
|00005be0| 20 22 53 61 76 65 42 6f | 6f 6b 4d 65 6e 75 53 65 | "SaveBo|okMenuSe|
|00005bf0| 74 74 69 6e 67 73 43 53 | 54 52 22 0d 67 65 74 20 |ttingsCS|TR".get |
|00005c00| 73 62 6e 28 29 0d 69 66 | 20 69 74 20 3d 20 22 64 |sbn().if| it = "d|
|00005c10| 65 74 61 69 6c 73 22 20 | 74 68 65 6e 20 41 64 64 |etails" |then Add|
|00005c20| 54 6f 52 54 20 28 74 53 | 74 72 28 22 4c 69 62 4d |ToRT (tS|tr("LibM|
|00005c30| 73 67 22 2c 32 30 29 26 | 26 66 6c 64 20 22 70 61 |sg",20)&|&fld "pa|
|00005c40| 67 65 4e 6f 22 29 0d 65 | 6c 73 65 20 69 66 20 69 |geNo").e|lse if i|
|00005c50| 74 20 3d 20 22 74 69 74 | 6c 65 20 70 61 67 65 22 |t = "tit|le page"|
|00005c60| 20 74 68 65 6e 20 41 64 | 64 54 6f 52 54 20 66 6c | then Ad|dToRT fl|
|00005c70| 64 20 22 64 65 73 63 72 | 69 70 74 69 6f 6e 22 0d |d "descr|iption".|
|00005c80| 70 61 73 73 20 73 75 73 | 70 65 6e 64 73 74 61 63 |pass sus|pendstac|
|00005c90| 6b 0d 65 6e 64 20 73 75 | 73 70 65 6e 64 73 74 61 |k.end su|spendsta|
|00005ca0| 63 6b 0d 66 75 6e 63 74 | 69 6f 6e 20 53 74 61 63 |ck.funct|ion Stac|
|00005cb0| 6b 49 6e 55 73 65 20 73 | 6e 0d 70 75 74 20 74 68 |kInUse s|n.put th|
|00005cc0| 65 20 69 74 65 6d 64 65 | 6c 69 6d 69 74 65 72 20 |e itemde|limiter |
|00005cd0| 69 6e 74 6f 20 69 64 0d | 70 75 74 20 74 68 65 20 |into id.|put the |
|00005ce0| 73 74 61 63 6b 73 69 6e | 75 73 65 20 69 6e 74 6f |stacksin|use into|
|00005cf0| 20 73 69 75 0d 70 75 74 | 20 66 61 6c 73 65 20 69 | siu.put| false i|
|00005d00| 6e 74 6f 20 62 0d 73 65 | 74 20 74 68 65 20 69 74 |nto b.se|t the it|
|00005d10| 65 6d 64 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 22 |emdelimi|ter to "|
|00005d20| 3a 22 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |:".repea|t with x|
|00005d30| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00005d40| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 73 |er of li|nes in s|
|00005d50| 69 75 0d 70 75 74 20 28 | 73 6e 3d 6c 61 73 74 20 |iu.put (|sn=last |
|00005d60| 69 74 65 6d 20 6f 66 20 | 6c 69 6e 65 20 78 20 6f |item of |line x o|
|00005d70| 66 20 73 69 75 29 20 69 | 6e 74 6f 20 62 0d 69 66 |f siu) i|nto b.if|
|00005d80| 20 62 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 | b then |exit rep|
|00005d90| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 |eat.end |repeat.s|
|00005da0| 65 74 20 74 68 65 20 69 | 74 65 6d 64 65 6c 69 6d |et the i|temdelim|
|00005db0| 69 74 65 72 20 74 6f 20 | 69 64 0d 72 65 74 75 72 |iter to |id.retur|
|00005dc0| 6e 20 62 0d 65 6e 64 20 | 53 74 61 63 6b 49 6e 55 |n b.end |StackInU|
|00005dd0| 73 65 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 53 |se.funct|ion getS|
|00005de0| 74 61 63 6b 50 61 74 68 | 0d 67 65 74 20 6c 6f 6e |tackPath|.get lon|
|00005df0| 67 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |g name o|f this s|
|00005e00| 74 61 63 6b 0d 64 65 6c | 65 74 65 20 77 6f 72 64 |tack.del|ete word|
|00005e10| 20 31 20 6f 66 20 69 74 | 0d 64 65 6c 65 74 65 20 | 1 of it|.delete |
|00005e20| 63 68 61 72 20 31 20 6f | 66 20 69 74 0d 64 65 6c |char 1 o|f it.del|
|00005e30| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00005e40| 20 69 74 0d 73 65 74 20 | 69 74 65 6d 64 65 6c 69 | it.set |itemdeli|
|00005e50| 6d 69 74 65 72 20 74 6f | 20 22 3a 22 0d 64 65 6c |miter to| ":".del|
|00005e60| 65 74 65 20 6c 61 73 74 | 20 69 74 65 6d 20 6f 66 |ete last| item of|
|00005e70| 20 69 74 0d 73 65 74 20 | 69 74 65 6d 64 65 6c 69 | it.set |itemdeli|
|00005e80| 6d 69 74 65 72 20 74 6f | 20 22 2c 22 0d 72 65 74 |miter to| ",".ret|
|00005e90| 75 72 6e 20 69 74 26 22 | 3a 22 0d 65 6e 64 20 67 |urn it&"|:".end g|
|00005ea0| 65 74 53 74 61 63 6b 50 | 61 74 68 0d 6f 6e 20 63 |etStackP|ath.on c|
|00005eb0| 68 65 63 6b 46 6f 6e 74 | 73 0d 70 75 74 20 48 61 |heckFont|s.put Ha|
|00005ec0| 73 43 53 54 52 28 22 46 | 6f 6e 74 4c 69 73 74 22 |sCSTR("F|ontList"|
|00005ed0| 29 20 69 6e 74 6f 20 74 | 68 65 46 6f 6e 74 73 0d |) into t|heFonts.|
|00005ee0| 69 66 20 74 68 65 46 6f | 6e 74 73 ad 22 22 20 74 |if theFo|nts."" t|
|00005ef0| 68 65 6e 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |hen.put |"" into |
|00005f00| 6d 69 73 73 69 6e 67 0d | 70 75 74 20 74 68 65 20 |missing.|put the |
|00005f10| 69 74 65 6d 64 65 6c 69 | 6d 69 74 65 72 20 69 6e |itemdeli|miter in|
|00005f20| 74 6f 20 69 64 0d 72 65 | 70 65 61 74 20 77 69 74 |to id.re|peat wit|
|00005f30| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|00005f40| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00005f50| 6e 20 74 68 65 46 6f 6e | 74 73 0d 67 65 74 20 6c |n theFon|ts.get l|
|00005f60| 69 6e 65 20 78 20 6f 66 | 20 74 68 65 46 6f 6e 74 |ine x of| theFont|
|00005f70| 73 0d 69 66 20 6e 6f 74 | 28 46 6f 6e 74 45 78 69 |s.if not|(FontExi|
|00005f80| 73 74 73 28 69 74 65 6d | 20 31 20 6f 66 20 69 74 |sts(item| 1 of it|
|00005f90| 2c 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 29 29 |, item 2| of it))|
|00005fa0| 20 74 68 65 6e 0d 70 75 | 74 20 69 74 20 69 6e 74 | then.pu|t it int|
|00005fb0| 6f 20 6c 69 6e 65 20 28 | 28 74 68 65 20 6e 75 6d |o line (|(the num|
|00005fc0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00005fd0| 6d 69 73 73 69 6e 67 29 | 20 2b 20 31 29 20 6f 66 |missing)| + 1) of|
|00005fe0| 20 6d 69 73 73 69 6e 67 | 0d 65 6e 64 20 69 66 0d | missing|.end if.|
|00005ff0| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00006000| 20 63 68 61 72 73 20 69 | 6e 20 6d 69 73 73 69 6e | chars i|n missin|
|00006010| 67 20 3e 20 32 30 30 20 | 74 68 65 6e 20 65 78 69 |g > 200 |then exi|
|00006020| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00006030| 65 61 74 0d 69 66 20 6d | 69 73 73 69 6e 67 ad 22 |eat.if m|issing."|
|00006040| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 53 74 72 28 |" then.p|ut tStr(|
|00006050| 22 42 6f 6f 6b 4d 73 67 | 22 2c 31 30 29 26 26 73 |"BookMsg|",10)&&s|
|00006060| 73 6e 28 29 26 22 2c 20 | 22 26 74 53 74 72 28 22 |sn()&", |"&tStr("|
|00006070| 42 6f 6f 6b 4d 73 67 22 | 2c 31 31 29 26 72 65 74 |BookMsg"|,11)&ret|
|00006080| 75 72 6e 26 72 65 74 75 | 72 6e 26 6d 69 73 73 69 |urn&retu|rn&missi|
|00006090| 6e 67 20 69 6e 74 6f 20 | 6d 79 6d 73 67 0d 62 65 |ng into |mymsg.be|
|000060a0| 65 70 0d 61 6e 73 77 65 | 72 20 63 68 61 72 20 31 |ep.answe|r char 1|
|000060b0| 20 74 6f 20 32 35 30 20 | 6f 66 20 6d 79 6d 73 67 | to 250 |of mymsg|
|000060c0| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|000060d0| 69 74 65 6d 64 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemdeli|miter to|
|000060e0| 20 69 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 | id.end |if.end c|
|000060f0| 68 65 63 6b 46 6f 6e 74 | 73 0d 6f 6e 20 6f 63 73 |heckFont|s.on ocs|
|00006100| 74 75 66 66 0d 65 6e 64 | 20 6f 63 73 74 75 66 66 |tuff.end| ocstuff|
|00006110| 0d 6f 6e 20 64 6f 66 69 | 6e 64 0d 69 66 20 74 68 |.on dofi|nd.if th|
|00006120| 65 72 65 20 69 73 20 6e | 6f 74 20 61 20 77 69 6e |ere is n|ot a win|
|00006130| 64 6f 77 20 22 46 69 6e | 64 22 0d 74 68 65 6e 0d |dow "Fin|d".then.|
|00006140| 6f 77 69 6e 64 6f 77 20 | 33 32 30 35 30 2c 22 46 |owindow |32050,"F|
|00006150| 69 6e 64 22 0d 73 65 74 | 20 74 68 65 20 64 65 66 |ind".set| the def|
|00006160| 69 6e 65 72 65 73 6f 75 | 72 63 65 20 6f 66 20 77 |ineresou|rce of w|
|00006170| 69 6e 64 6f 77 20 22 66 | 69 6e 64 22 20 74 6f 20 |indow "f|ind" to |
|00006180| 22 46 69 6e 64 2e 64 65 | 66 22 0d 73 68 6f 77 20 |"Find.de|f".show |
|00006190| 77 69 6e 64 6f 77 20 22 | 66 69 6e 64 22 0d 73 65 |window "|find".se|
|000061a0| 74 20 74 68 65 20 64 6f | 6e 74 65 72 61 73 65 20 |t the do|nterase |
|000061b0| 6f 66 20 77 69 6e 64 6f | 77 20 22 66 69 6e 64 22 |of windo|w "find"|
|000061c0| 20 74 6f 20 74 72 75 65 | 0d 63 68 65 63 6b 28 22 | to true|.check("|
|000061d0| 46 69 6e 64 c9 22 29 2c | 74 72 75 65 0d 65 6e 64 |Find."),|true.end|
|000061e0| 20 69 66 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 | if.if t|here is |
|000061f0| 61 20 77 69 6e 64 6f 77 | 20 22 46 69 6e 64 22 0d |a window| "Find".|
|00006200| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 66 69 6e |then.set| the fin|
|00006210| 64 74 65 78 74 5f 73 65 | 6c 65 63 74 69 6f 6e 20 |dtext_se|lection |
|00006220| 6f 66 20 77 69 6e 64 6f | 77 20 22 46 69 6e 64 22 |of windo|w "Find"|
|00006230| 20 74 6f 20 22 31 2c 22 | 26 20 74 68 65 20 6e 75 | to "1,"|& the nu|
|00006240| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|00006250| 20 74 68 65 20 66 69 6e | 64 74 65 78 74 5f 74 65 | the fin|dtext_te|
|00006260| 78 74 64 61 74 61 20 6f | 66 20 77 69 6e 64 6f 77 |xtdata o|f window|
|00006270| 20 22 66 69 6e 64 22 0d | 73 65 74 20 74 68 65 20 | "find".|set the |
|00006280| 41 63 74 69 76 65 4f 62 | 6a 65 63 74 20 6f 66 20 |ActiveOb|ject of |
|00006290| 77 69 6e 64 6f 77 20 22 | 46 69 6e 64 22 20 74 6f |window "|Find" to|
|000062a0| 20 22 66 69 6e 64 74 65 | 78 74 22 0d 65 6e 64 20 | "findte|xt".end |
|000062b0| 69 66 0d 65 6e 64 20 64 | 6f 66 69 6e 64 0d 66 75 |if.end d|ofind.fu|
|000062c0| 6e 63 74 69 6f 6e 20 63 | 6f 6e 74 65 78 74 66 72 |nction c|ontextfr|
|000062d0| 6f 6d 74 65 78 74 20 74 | 68 65 77 6f 72 64 2c 74 |omtext t|heword,t|
|000062e0| 68 65 74 65 78 74 2c 74 | 68 65 70 61 67 65 0d 70 |hetext,t|hepage.p|
|000062f0| 75 74 20 22 22 20 69 6e | 74 6f 20 72 0d 72 65 70 |ut "" in|to r.rep|
|00006300| 65 61 74 0d 67 65 74 20 | 6f 66 66 73 65 74 28 72 |eat.get |offset(r|
|00006310| 65 74 75 72 6e 2c 74 68 | 65 74 65 78 74 29 0d 69 |eturn,th|etext).i|
|00006320| 66 20 69 74 20 3d 20 30 | 20 74 68 65 6e 20 65 78 |f it = 0| then ex|
|00006330| 69 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 73 70 |it repea|t.put sp|
|00006340| 61 63 65 20 69 6e 74 6f | 20 63 68 61 72 20 69 74 |ace into| char it|
|00006350| 20 6f 66 20 74 68 65 74 | 65 78 74 0d 65 6e 64 20 | of thet|ext.end |
|00006360| 72 65 70 65 61 74 0d 70 | 75 74 20 22 61 62 63 64 |repeat.p|ut "abcd|
|00006370| 65 66 67 68 69 6a 6b 6c | 6d 6e 6f 70 71 72 73 74 |efghijkl|mnopqrst|
|00006380| 75 76 77 78 79 7a 22 20 | 69 6e 74 6f 20 61 6c 0d |uvwxyz" |into al.|
|00006390| 72 65 70 65 61 74 0d 63 | 62 75 73 79 0d 67 65 74 |repeat.c|busy.get|
|000063a0| 20 6f 66 66 73 65 74 28 | 74 68 65 77 6f 72 64 2c | offset(|theword,|
|000063b0| 74 68 65 74 65 78 74 29 | 0d 69 66 20 69 74 20 3d |thetext)|.if it =|
|000063c0| 20 30 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 | 0 then |exit rep|
|000063d0| 65 61 74 0d 69 66 20 63 | 68 61 72 20 69 74 2d 31 |eat.if c|har it-1|
|000063e0| 20 6f 66 20 74 68 65 74 | 65 78 74 20 69 73 20 69 | of thet|ext is i|
|000063f0| 6e 20 61 6c 20 6f 72 20 | 63 68 61 72 20 69 74 2b |n al or |char it+|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.